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
What is string syntax?
What is the difference between logical data independence and physical data independence?
Is 0 true or is 1 true?
What is stack explain?
What is the final keyword?
Can we declare register variable as global?
What is the difference between the ">>" and " >>>" operators in java?
What does next mean in java?
Which collection does not allow duplicates in java?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
Is it possible to use string in the switch case?
What is Enum in Java?
What are the different types of inheritance in java?
What is bufferedwriter?
Java.util.regex consists of which classes?