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
How to create a custom exception?
How to create an interface?
What are static blocks and static initalizers in java ?
How is garbage collection controlled?
What are three advantages of using functions?
What is object of class in java?
Can we override constructors?
What is difference between Heap and Stack Memory?
What is arrays sort in java?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What is the java reflection api? Why it’s so important to have?
Can we sort arraylist in java?
What is sizeof () operator?
What is an error in java?
What is constructor and its types?