What is an immutable object? How do you create one in java?
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.
Can we override private methods?
Is array a class?
How do you define a parameter?
What is this keyword used for?
What’s the difference between callable and runnable?
What is immutability in java?
How to run a JAR file through command prompt?
What is the declaration statement?
Is empty list java?
In how many ways we can create threads in java?
What is the intersection and union methods?
What is default switch case? Give example.
Write a factorial program using recursion in java?