Explain about main thread in java?
Answer / Dhram Pal
The main thread is a pre-defined thread that is created by the JVM when a Java application starts. It has a priority of 5, which is the highest among user threads. The main thread's entry point is the static void main(String[] args) method in any class. This method must be present in every Java program.
| Is This Answer Correct ? | 0 Yes | 0 No |
What if I write static public void instead of public static void in java?
What is singleton service?
How does a for loop work?
What is re-factoring in software?
What method is used to compare two strings ?
What is bigger kb or mb?
Can a constructor be protected?
Is java a virus?
What is the difference between Abstract Class and Interface
How to eliminate duplicates from an array?
6 Answers ABC, AdMod, Adobe, College School Exams Tests, Patni, Wipro,
Can you override static methods?
What are wrapper classes?