sauravmanit
BAN USER
Comments (5)
Reputation 0
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
1.)index shud be static
2.) both the methods shud be synchronized
Comment hidden because of low score. Click to expand.
0
of 0 vote
You are right prit...ideally it shud be on the basis of class name not on the basis of instanceOf ...but most of the java standard books suggest only instanceOf thing..
- sauravmanit March 03, 2011Comment hidden because of low score. Click to expand.
0
of 0 vote
Nice Solution Dude
- sauravmanit March 03, 2011Comment hidden because of low score. Click to expand.
0
of 0 vote
first read question dude....
- sauravmanit January 23, 2011Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
You can make your class as immutable also...
- sauravmanit March 03, 2011technoworld4u.blogspot.com