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 passed by reference and pass by value ?
Write a program to print the pattern given below
What do you mean by global variable?
what is thread? What are the high-level thread states? : Java thread
Can you declare a private method as static?
How do you square a number?
What is the difference between hashmap and hashtable? What is an interface?
Explain about object oriented programming and its features?
How do you find the independent variable?
Which sorting algorithm is in place?
Difference between object and reference?
How many bits is a char?
Is a class subclass of itself?
Can we catch more than one exception in a single catch block?
Which package has light weight components in java programming?