Search your topic in Java2share
Home
>
FAQs
SCJP
SCJP
Syllabus
Exam Pattern
Question Bank
Tutorials
SCJP Communities
SCWCD
SCWCD
Syllabus
Exam Pattern
Question Bank
Tutorials
Mock Exam
SCWCD Communities
SCBCD
SCBCD
Syllabus
Exam Pattern
Question Bank
Tutorials
Mock Exams
SCBCD Communities
SCJA
SCJA
Syllabus
Exam Pattern
Tutorials
Mock Exams
SCJA Communities
SCJD
SCJD
Syllabus
Exam Pattern
Tutorials
SCJD Communities
Java FAQs
Java FAQs
CoreJava
Exceptions
Threads
Collections
JDBC
Servlets
JSP
EJB
Struts
Hibernate
Spring
Inner Classes
Weblogic
JSF
Project Round
Sample Programs
Sample Programs
Core Java
JDBC
Servlets
JSP
EJB
Struts
Hibernate
Spring
IEEE Projects
IEEE Projects
Data Mining
Networking
Mobile Computing
Network Security
Software Engineering
Java Projects
Java Projects
Core Java
Servlets & JSP
Struts
EJB
J2ME
Sample Resumes
Fresher Jobs
Multi Threading FAQs
Q1. What is Multitasking?
Q2. What is the difference between process-based and Thread-based Multitasking?
Q3. What is Multithreading and explain its application areas?
Q4. What is advantage of Multithreading?
Q5. When compared with C++ what is the advantage in java with respect to Multithreading?
Q6. In how many ways we can define a Thread? Among extending Thread and implementing Runnable which is recommended?
Q7. What is the difference between t.start() and t.run() method?
Q8. Explain about Thread Scheduler?
Q9. If we are not overriding run() method what will happened?
Q10. Is overloading of run() method is possible?
Q11. Is it possible to override start() method?
Q12. we are overriding start() method then what will happen?
Q13. Explain life cycle of a Thread?
Q14.What is the importance of Thread class start() method?
Q15. After starting a Thread if we trying to restart the same thread once again what will happen?
Q16. Explain Thread class constructors?
Q17. How to get and set name of a Thread?
Q18. What is the range of Thread priority in java?
Q19. Who uses Thread priority?
Q20. What is the default priority of the Thread?
Q21. Once we created a new Thread what about its priority?
Q22. How to get and set priority of a Thread?
Q23. If we are trying to set priority of a Thread as 100 what will happen?
Q24. If two threads having same priority then which thread will get chance first for execution?
Q25. If two threads having different priority then which thread will get chance first for execution?
Q26. How we can prevent a thread from execution?
Q27. What is yield() method? Explain its purpose?
Q28. What is purpose of join() method?
Q29. Is join() method is overloaded?
Q30. What is the purpose of sleep() method?
Q31. What is synchronized keyword? Explain its advantages and disadvantages.
Q32. Where we can use synchronized keyword?
Q33. What is object lock? Explain when it is required?
Q34. What is the class level lock? Explain its purpose.
Q35. While a thread executing any synchronized method on the given object is it possible to execute remaining synchronized method of the same object simultaneously by any other thread?
Q36. What is the difference between synchronized method and static synchronized method?
Q37. What is the advantage of synchronized block over synchronized method?
Q38. What is synchronized statement?
Q39. How we can declare synchronized block to get class level lock?
Q40. How two thread will communicate with each other?
Q41. wait(), notify(), notifyAll() method can available in which class?
Q42. Why wait(), notify(), notifyAll() method defines in object class instead of Thread class?
Q43. If a waiting thread got notification then it will entered into which state?
Q44. In which method threads can release the lock?
Q45. Explain wait(), notify(), notifyAll() method uses.
Q46. What is the difference between notify() and notifyAll()?
Q47. Once a Thread got the notification then which waiting thread will get chance?
Q48. How a thread can interrupt another thread?
Q49. What is DeadLock? Is it possible to resolve DeadLock situation?
Q50. Which keyword causes DeadLock situation?
Q51. How we can stop a thread explacitly?
Q52. Explain about suspend() and resume() method?
Q53. What is Starvation()? And Explain the difference between Deadlock and Starvation?
Q54. What is race condition?
Q55. What is Daemon Thread? And give an example?
Q56. What is the purpose of a Daemon Thread?
Q57. How we can check Daemon nature of a Thread?
Q58. Is it possible to change a Daemon nature of a Thread?
Q59. Is main thread is Daemon or non-daemon?
Q60. Once we created a new thread is it daemon or non-daemon.
Q61. After starting a thread is it possible to change Daemon nature?
Q62. When the Daemon thread will be terminated?
Q63. What is green Thread?
Q64. Explain about Thread group?
Q65. What is the Thread Local?
Q66. In your previous project where you used multithreading concept?