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


Please Help Members By Posting Answers For Below Questions

What if I write static public void instead of public static void in java?

567


What happens to a static var that is defined within a method of a class?

542


What is a void in java?

570


What is difference between protected and private?

519


What does serializing data mean?

509






Can we have a try block without catch block?

557


What is difference between array and arraylist in java?

453


Why generics are used in java?

542


What is the advantage of OOP in java?

655


What does jre stand for?

596


Can we use a default constructor of a class even if an explicit constructor is defined?

641


Why you should not use singleton?

532


Explain the public class modifier?

493


How does regex work?

515


What is return code?

551