Answer Posted / basireddy
interface is used when we want all the methods implement
the methods differnetly in different situations.
Abstract class
We also use abstract classes to override the
abstract methods that it contains.Otherwise the child class
will mentioned as abstract.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What are the advantages of exception handling in java?
What is the purpose of methodology?
Does java initialize arrays to zero?
What will happen if a thrown exception is not handled?
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.
Explain about transient variables in java?
Is there is any difference between a scrollbar and a scrollpane?
Difference between java and javascript
What is a pointer and does java support pointers?
Explain about public and private access specifiers?
What is palindrome in java?
What are peerless components in java programming?
What is generic class?
What is the longest unicode character?
How to perform linear search in java?