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 are the problems faced by java programmers who don't use layout managers?
Is void a data type?
Name container classes in java programming?
What is unicode datatype?
What is a protected void?
What do you understand by the term polymorphism?
Can an interface be final?
Why do we use threads in java?
What are the default and parameterized constructors?
What are selection structures?
What is the functionability stubs and skeletons?
What is polymorphism and what are the types of it?
How do you identify if jvm is 32-bit or 64-bit from java program?
How to use string tokenizer class.
Does string is thread-safe in java?