Question
How can we create a thread in java?

Answers

There are following two ways of creating a thread:
1) By Implementing Runnable interface.
2) By Extending Thread class.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Which family,order does the fish Tripletail belongs to?
  • Q What is the reason behind using constructors and destructors?
  • Q What is the difference between respiratory acidosis and metabolic acidosis and what is the difference between respiratory alkalosis and metabolic alkalosis?
  • Q You want to be sure your database server if properly secured. You have two instances, a default instance and a named instance installed. Which ports do you need to open?
  • Q Expand CDA
  • Q What type of program controls the various computer parts and allows the user to interact with the computer?
  • Q ____ are designed to inspect traffic, and based on their configuration or security policy, they can drop malicious traffic?
  • Q In which year was the first British vehicle registration issued: 1895; 1903; 1910; or 1914?
  • Q What linked Armenia, Georgia, Latvia and Moldavia
  • Q Who conferred the title of 'Mahamana’ to Pandit Madan Mohan Malaviya?
  • Q Who played Elwood in the original film The Blues Brothers?