When we r go to abstract class and when we go to Interface?
i have confusion this question while in interview plz clarify
Answer Posted / arjun
In interface we can writer interface keyword and abstract we can write abstract class
In interface we can write constructor but abstract no
In interface we can forcely implement all methods but abstract no
In interface all variables public static final we can not change but abstract not
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
What is executor memory?
How do you sort in java?
What is difference between string and stringbuffer?
What is append in java?
What are three ways in which a thread can enter the waiting state in java programming?
Can list be null in java?
How can an exception be thrown manually by a programmer?
what is meant by Garbage collection?
What do you mean by compiler?
What is final keyword?
What is the difference between form & report?
What is an immutable class?
What is difference between synchronize and concurrent collection in java?
What is the properties class?
What is a java object and java application?