What is multithreading?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is multithreading?
Rating:
Multithreading is a special kind of multitasking. It allows different parts of a program to run concurrently. Different parts of the program share the same memory space. Idle time of CPU is put to good use, so that the efficiency of the CPU is enhanced. Different parts of the program are so written that they do not interfere with one another. Multithreading in Java can be implemented in two ways: Creating an object that extends the Thread class or implementing the Runnable interface.
Rating:
Was this information helpful?
Other articles
- What are the data type conversions available in Java?
- What is the equals() method?
- What is a JAR file?
- What is the DateFormat class?
- What is the toHexString() method of the Long class?