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
Explain notify() method of object class ?
Difference between final and effectively final ?
What is meant by attribute?
Explain the difference between comparator and comparable in java?
What are triggers in DB? Explain their types. How do they work?
What do you mean by order of precedence and associativity?
Can you change array size in java?
Can we sort list in java?
What are constants and how to create constants in java?
What are latest features introduced with java 8?
What is the difference between length and size in java?
Is it possible for a yielded thread to get chance for its execution again?
How do you sort in ascending order in java?
How does sublist works in java?
Is java a digit method?