What happens when a main method is declared as private?
Answer Posted / r.jainrocks@gmail.com
Byte that have main() implementation can become starting
point of program .
if a program have no main()
i.e.
public static void main(String[] args)
properly it can't become starting point in application
it can be use through other program which capable to become
starting point.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What do you mean by composition in java?
Is jdk required on each machine to run a java program?
How do you clear a method in java?
What is the significance of java packages?
What exactly is a .class file?
Can we override constructor in java?
How do you write a conditional statement?
What is a 16 bit word?
What are the differences between the constructors and methods?
Differece between class and generic class?
how we can create packages in java?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
I want to store more than 10 objects in a remote server? Which methodology will follow?
Explain the importance of thread scheduler in java?
placement papaers of spring computing technology