Learn public static void main(String[] args) in detail.
1. Why we use main method?
2. What if we don’t write main method in a class? Will it get compiled with no error?
3. Explain syntax of main method.
4. Why main method is public?
5. Why main method is static?
6. Why return type of main method is void?
Related Video:
Class and Object - Hindi
• Class and Object - Hindi #ClassesObjects
Objects in Java – Hindi
• Objects in Java - Hindi
Command Line Arguments/ String[] args – Hindi
• Command Line Arguments/ String[] args - Hindi
can we change main method with no error? – Hindi
• can we change main method with no error? -...
Explain System.out.println(); in detail- Hindi
• Explain System.out.println(); in detail- H...
Please feel free to put your doubts and queries in comment box.
Please LIKE and SHARE if you find it useful.
Please SUBSCRIBE to get new videos of java tutorials.