How many types of threads are there in Java?
A
Correct answer
Explanation
Java has two main types of threads: user threads and daemon threads. User threads are created by the application and prevent the JVM from exiting until they complete. Daemon threads run in the background and don't prevent JVM exit - they terminate when all user threads finish. The question asks for 'types' rather than specific thread priorities or states.