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
How do you get length in java?
How do you replace all in word?
What is return code?
Can a static class implement an interface?
How the metacharacters are different from the ordinary characters?
What is the full form of jpeg?
Why convert an applet to an application?
What are the differences between path and classpath variables?
Explain 5 io best practices?
What is the string function?
Is vector ordered in java?
What is break and continue statement?
What is a default method?
What is the difference between actual and formal parameters?
Explain about object oriented programming and its features?