What is object class in java?
No Answer is Posted For this Question
Be the First to Post Answer
Is there any case when finally will not be executed?
How to find the index of the largest number in an arraylist java?
What are the elements of java?
What is break and continue statement?
How can you share data between two thread in Java?
Explain about sets?
What is a class object?
How an object is serialized in java?
Is an array a vector?
Where local and global variables are stored?
String is an immutable object. Then how can the following code be justified. String s1 = ?ABC?; String s1 = s1+?XYZ?; s.o.p(s1); The output is ABCXYZ, which is the value of s1 ?
6 Answers Flextronics, Keane India Ltd,
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.