OFTOPIC
Full Metal Alchemist
Code Geass
Darker than Black
Nothing beats DeathNote...its the ultimate anime.... n' I hope you would already b familiar with common ones like Bleach Naruto etc etc
OFFTOPIC
Attempted SCJP(SUN CERTIFIED JAVA PROGRAMMER) today...
Had to get 47 questions out of 72 right to pass...
N I got 46....
So I fail...... [:(]
SOme bad luck n' lack of dedication from my side....
I would like to know...can I give he exam again or I have to re-register??
Will the cost...
Earlier I had posted a ques regarding hashCode n' equals..
But the code was incorrect...
So here is the correct code n the question follows...
/* Testing some ambiguous equals n' hashcode concepts
@Author Nitish Upreti
*/
class Car
{
private String model;
private char type...
The Code prints diff hashCodes for the two objects..
Still the objects are reported to be equal!! Why is that so??
class Hs
{
int x;
public Hs()
{
x=11;
}
public boolean equals (Object o)
{
Hs rf=(Hs) o;
if(this.x==rf.x)
return true;
else
return false;
}
}
class...
I have been facing a strange problem in Vector Linux...
I can connect and surf net..but sometimes even after i connect(using pppoe-start), m not able to surf!!
ifconfig shows all the three interfaces lo,eth0 and pppoe0 running!
I reboot into windows and the net is working!!!
Then if I...
I am aware of this fact...
I read tht interfaces save u from Deadly diamond of death..hows that??
U could have used multiple inheritance(if it was allowed) n used purely abstract classes...
WHy did java designers go 4 interfaces??
Hmm...
I am on Vector Linux! :)
Another Ques
what do we get from interfaces??? we could simply create an abstract class with all abstract methods n' all attributes public static and final...
That will be equivalent to creating an interface!!
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.