We can use Extend Thread class only when the class ____________ extending another class

Options
- is
- is not


CORRECT ANSWER : is not

Discussion Board
Extend Thread

Extend Thread class only when the class is not extending another class. When extend thread is used then it is same as inheriting all the attributes and methods of the parent class. The new class getting created from extend thread can deposit and withdraw without defining any new methods for the functions. This way the programming becomes easier and simpler by extending the classes. To create a sub class (child) from a Java super class (parent) extend is used. It is denoted by the "extend" keyword.

Rohit Sharma 08-9-2014 06:18 PM

solution

because java does not support multiple inheritance...

Piush 07-2-2014 04:43 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement