Thread: Thread is a lightweight
process. Thread requires less memory space and resources to create
and exists in the process, thread shares data and resources of the
process.
Every Java application has at least one
Thread (main thread). There are some threads running in the
background by default like garbage collector, memory management etc.
But as a application's point of view we can create more then one
threads as per our requirement.
Java provides two ways to create a
thread programmatically.
For full blog about Java
Thread Example visit FindNerd.
You can check more informative blogs
and tutorials at java
development blogs section and can also browse the java
developer forum for posting and viewing latest questions on java
development.
No comments:
Post a Comment