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
Can we write class inside a class in java?
How do you join strings in java?
What is private protected in java?
What are the skills required for core java?
What is meant by tab pans?
What is linked hashmap and its features?
What is difference between ++ I and I ++ in java?
What is jrmp?
Java is pass by value or pass by reference? Explain
Which object oriented concept is achieved by using overloading and overriding?
What is one third plus one third as a fraction?
What do you mean by ordered and sorted in collections in java?
What is use of arraylist in java?
Can we declare a static variable inside a method?
Why do we need variables?