Originally posted by Seany Iris:
What will be the output when the following code is run?
1. class ThisClass{
2. public static void main(String args[]){
3. Object o=(Object)new ThisClass();
4. Object s=new Object();
5. if(o.equals(s))
6. System.out.println("true");
7. }
8. }
Originally posted by John Lynn:
I found this handy set of 4 science fiction-like sentances to help remember the java reserved words:
1. Abstract native try break default interface while byte finally throws
public case for do
2. super short volatile private synchronized this final return continue
throw long char
3. if long protected static continue float Boolean extends strictfp else
implements void instanceof int
4. const goto class catch new transient package import double protected
switch
Originally posted by Valentin Crettaz:
Yeah I'm thinking about writing one....
Just kidding