what is difference between abstract and interface?
can i give real time example for the two topics?
Answer Posted / richa
abstract class can have some concrete methods and abstract
methods too.abstract class can use accessibility modifier
in abstract class.
but in interface all the method are abstract.In interface
no accessibility modifier is allowed by default it takes
public access modifier.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is %02d?
What are green threads in java?
Can we rethrow the same exception from catch handler?
Can we have 2 main methods in java class?
What is difference between printf and scanf?
What do you mean by thread safe?
What is the use of pattern in java?
Define array. Tell me about 2-D array.
what is daemon thread and which method is used to create the daemon thread? : Java thread
Can an arraylist be empty?
What is abstract class constructor called?
What is indexof in java?
What does \ mean in regex?
What is a singleton in genetics?
Why hashmap is used in java?