Are variables stored in ram?
No Answer is Posted For this Question
Be the First to Post Answer
What are the differences between abstract class and interface?
Is string passed by reference in java?
I Have a class abstract with one abstract method, so that method should override in the subclass, but i dont want to override, if i am not override what will happen? If compilation will occur then i dont want to give compilation error, then what we need to do??? See the sample program. public abstract class AbstractExample { public abstract void sampleMethod(); } public class AbstractExampleImple extends AbstractExample { }
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
when to for abstract class and when to go for interface
What is the best way to findout the time/memory consuming process?
Can you explain the usages of class.forname()?
What is the difference between char and char *?
Is java based on c?
What is the generic function?
what is difference between set and list in collection?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.