Can you pass functions in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is null object in java?
What happens when main () method is declared as private?
What is generic class?
What are inbuilt functions in java?
State two differences between C and 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.
What is the difference between Byte stream and Charecter Stream?
What is a boolean expression in java?
Explain the use of volatile field modifier?
How do generics work?
What is nan inf?
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .