Ayesha Farid

Greenhorn
+ Follow
since Oct 26, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ayesha Farid


this file compiles fine..
But creating NoClassDefFoundError..

However, the array are objects then why it cannot be serialized.
please help with my doubts:--

Integer io=new Integer("23");
int i=23;
System.out.println(io.equals(i)); // true ...why? ... but other way round i.equals(io) gives error (i cannot be deprecated...no idea whats dat )
System.out.println(5.00f==5L); // long and float are incompatible types still no error ...why?

Long lt=53L;
Integer it=53;
int p=53;
System.out.println(lt==p); //true why the error incomparable dun pop-up ...becoz other way round the next statement execute with error...
System.out.println(lt==it); //error (Incomparable types) why
System.out.println(lt.equals(it)); //true becoz they refer to different objects...IS this the reason??

thank You..
I have prepared myself from SCJP6 K&B (Exam- 310-065).
Now I wanted to know what is better , SCJP6 or OCJP6 , nd if i wanted to go for ocpjp6 shaould i have to go for another book (i mean how much two exams differ, by context).
Thank You