Can a class extend abstract class or interface? why

Answer Posted / mahesh

A class can extend an Abstract class but it can't extend an
interface.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is hotjava?

540


Is java call by value?

573


Why does java not allow multiple public classes in a java file ?

3421


What is meant by null and void?

520


What is a instance variable in java?

535






Can a class with private constructor be extended?

473


What is the difference between a vector & an array list?

659


What is string example?

586


What is return type in java?

622


Can a abstract class be defined without any abstract methods?

543


Is there is any difference between a scrollbar and a scrollpane?

550


Explain the difference between string, stringbuffer and stringbuilder in java?

543


What is an iterator java?

517


What is sizeof in java?

542


Can we sort list in java?

588