Can a class extend abstract class or interface? why
Answer Posted / ramakrishna
Yes, A class can extend an abstract class also any
interface,why because,A normal class which is implementing
an interface can still be declared as any abstract,if u
extend that class what happens?
u r extending an abstract class and indirectly extending
interface also.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Does a function need a return?
What is == mean?
What is bool mean?
What is the difference between checked exception and unchecked exception?
What is the disadvantage of synchronization?
What is var keyword ?
What is the difference between choice and list?
Differentiate between static and non-static methods in java.
What is predicate in java?
What are the types of methods in java?
What is a instance variable in java?
Discuss about garbage collector in Java.
What is try-with-resources in java?
What is the purpose of the main method?
What are "class access modifiers" in Java?