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 is the use of static class?
How to provide security in java
How do I get a substring?
how to split string in java?
How many types of methods are there in java?
Explain about features of local inner class?
What are java threads?
What is difference between stringbuffer and string?
What is flush buffer?
What is a numeric string?
Write a code to create a trigger to call a stored procedure
Why java uses the concept of the string literal?
What are parameters in a method?
What is the difference between hashset and treeset in java?
What is the old name of java?