Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
Java Part 2
« Previous
Next »
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
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Java Beginner (11)
Java (39)
Java (40)
Java (22)
Java (30)
Java (25)
Java (20)
Java (20)
Core Java (20)
Core Java (10)
Core Java (72)
EJB (20)
JDBC (20)
Applet (20)
Struts (21)
Servlets (20)
Java Web Services (20)
Javascript (40)
J2EE (10)
jQuery (46)
Advertisement
▲