Answer Posted / ravikiran
interface is used when we want all the methods implement
the methods differnetly in different situations.
where as an abstract classis used to define abstarct as
well as non abstract methods
Is This Answer Correct ? | 15 Yes | 9 No |
Post New Answer View All Answers
Is an integer an object?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
Explain tree set and its features?
Difference between nested and inner classes ?
Are arrays classes in java?
What is a parameter used for?
What is primitive array?
What is preflight request?
What is the generic class?
What is equlas() and hashcode() contract in java? Where does it used?
What do you understand by classes in java?
Explain about object oriented programming and its features?
What is variable and rules of variable?
when you will synchronize a piece of your code? : Java thread
How do you implement singleton class?