Final answer:
The correct Java thread statement is that a thread can be in ready, running, and sleeping states during its lifecycle. These states are vital for managing concurrent operations within a Java application.
Step-by-step explanation:
The statement about Java Threads that is correct is: (d) Ready, running and sleeping are three states that a thread can be in during its life cycle. Java threads are a fundamental part of Java that allow for concurrent execution of code. This means that multiple threads can run in parallel, enabling more efficient use of CPU resources for multitasking applications.
Here's a brief explanation of the thread states:
- Ready - The thread is prepared to run and waiting for CPU time.
- Running - The thread is currently executing.
- Sleeping (or waiting) - The thread is not active, having been put to sleep or waiting for synchronization with other threads or data.
Moreover, Java's garbage collector indeed runs in its own thread, but its priority is not necessarily high—it could vary depending on the JVM implementation. And while not every Java application is multithreaded, the capability is inherent to the language, and even the simplest application has at least one main thread of execution.