If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface?
Answer Posted / ravi
if all the methods are abstract in abstract class,then the
only difference left is,,,,
interface can have static and final variables with public
and abstract access modifier only ,,,while abstract class
can have any type of variable with any type of access
modifiers
| Is This Answer Correct ? | 30 Yes | 3 No |
Post New Answer View All Answers
What is floor in java?
What is merge sort in java?
What is update method called?
How can you make a class serializable in java?
What is better- service oriented or batch oriented solutions?
What is use of arraylist in java?
How can we access some class in another class in java?
What is jit and its use?
Why null value is used in string?
Difference between collection, collection and collections in java?
Java.util.regex consists of which classes?
Can we change the scope of the overridden method in the subclass?
Can we have more than one package statement in source file ?
What is the byte order of byte buffer?
Difference between serialization and deserialization in java?