Can an anonymous class be declared as implementing an
interface and extending a class?
Answers were Sorted based on User's Feedback
Answer / janet
An anonymous class may implement an interface or extend a
superclass, but may not be declared to do both.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / bindu
no.if the private class extends abstract class.then v cant
create object to that.
| Is This Answer Correct ? | 0 Yes | 2 No |
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 you instantiate the math class in Java?
What is initial size of arraylist in java?
How will you load a specific locale?
Describe how to implement singleton design pattern in struts.
how a marker interface gets its functionality and when we implements a marker interface how it got invoked
Is it possible to instantiate the abstract class?
what is custom tags with example?
Explain about map interface in java?
What is overriding in java?
Explain about strings in java?
What is meant by packages?