Multithreading Questions - ayushmathur94/DirectQuesAns_Prep GitHub Wiki

Q) How Java is multithreaded programming language.

   We can consider JVM (Java Virtual Machine) is also a process, when JVM is created in its Java Stack Area   
   by default two threads are created with names
   1. main - to execute Java methods.
   2. garbage collector - to destroy unreferenced objects.

   So, by default Java is multithreaded programming language. 
  >  All methods are executed in main thread in sequence in the order they are called from main method.