0
Say about java thread
what is java thread
5 Answers
+ 6
A thread, in the context of Java, is the path followed when executing a program. All Java programs have at least one thread, known as the main thread, which is created by the Java Virtual Machine (JVM) at the program's start, when the main() method is invoked with the main thread.
https://www.techopedia.com/definition/24350/thread-java
+ 2
Allows multiple processes to exist within Java's process. This is good when you need your program to perform multiple things at the same time without impacting each other. For example, I could have a thread dealing with updates/downloads/etc... while another thread is handling the parts of the program that you're using in that moment. There is so many useful applications of threading. Basically, if your program needs to be performing multiple tasks at the exact same time, then use threading.
+ 1
https://www.geeksforgeeks.org/multithreading-in-java/
Multithreading in Java
Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such program is called a thread. So, threads are light-weight processes within a process.
0
thanks for help mee
0
ok