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
What is object data type?
Write a code to show a static variable?
Can anonymous class have constructor?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
How are the elements of a gridbaglayout organized?
What is meant by main method?
How to sort an array in java without using sort method?
How do you start a new line in java?
How does indexof work?
Which list does not allow duplicates in java?
Can we have multiple classes in single file ?
How to compare two strings in java program?
What are bind parameters?
What occurs when an object is constructed?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?