Answer Posted / raju singh
class Car extends Thread
{
@override
public void run()
{
super.start();
System.out.println("This is start in car class");
}
@override
public void run()
{
System.out.println("Car is running");
}
}
class Application
{
public static void main(String []args)
{
Car c=new Car();
c.start();
}
}
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the null?
Explain the difference between treeset and treemap in java?
what is meant by Byte code concept in Java?
What is the use of protected in java?
What do you mean by JVM?
What is finally in Java?
What exactly is java?
Explain about complier design(phases)
Is java code slower than native code?
List some oops concepts in java?
What is sorting in java?
When do we use synchronized blocks and advantages of using synchronized blocks?
What is google full form?
What does isempty () do in java?
What are unchecked exceptions in java?