Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Coldplay  RSS feed

 
Juan Manuel Alberto de los Santos
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The other day i went to see Colplay,

when they were playing "Fix you", i was imagining this horrible things

damn java

class coldplayShow {

public static void main(String... x) throws InterruptedException {
try {
System.out.print("When you try your best ");
int i=4/0;
} catch (Exception e) {
System.out.println("but you don't suceed");
}
String s = "When you get what you want but not what you need";
System.out.printf("%s", s, s, s, s, s);
String s1 = "When you feel so tired ";
Thread.sleep(400);
System.out.println(s1 + "but you can't sleep");
String s3 = "esrever ni kcutS";
System.out.println(new StringBuffer(s3).reverse());
}
}
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Juan Manuel Alberto de los Santos:
The other day i went to see Colplay,
}
String s = "When you get what you want but not what you need";

}


That should be a double divided by a double where the last double = 0 and the Vm gives a negative infinity and not an instance of Arithmetic exception or something if I remember learning about this on MD
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I hear Coldplay I imagine horrible things too. But these horrible things are usually happening to Coldplay.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hardcore geek.
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wish this band would come to India soon. I want to sing along with them and bring along my accordion so I can get noticed as a potential band member in case they ar interested.
 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys Whats wrong
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!