when to use abstract class and when to use interface?
Answer Posted / rod
The above answer is wrong because it uses the word
"interface" to define itself. You simply cannot say "which
are available in the interface go for interface" because you
cannot use a word in the description of itself. It is like
saying a what is a ball...well a ball is a ball. Which is
correct but does not answer the question.
Whoever wrote the above answer does not speak english as a
first language and therefore they are confusing the issue.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What if I write static public void instead of public static void in java?
What happens to a static var that is defined within a method of a class?
What is a void in java?
What is difference between protected and private?
What does serializing data mean?
Can we have a try block without catch block?
What is difference between array and arraylist in java?
Why generics are used in java?
What is the advantage of OOP in java?
What does jre stand for?
Can we use a default constructor of a class even if an explicit constructor is defined?
Why you should not use singleton?
Explain the public class modifier?
How does regex work?
What is return code?