what is purpose of writting public static void main(Strind
arg[]) in java..?
Answer Posted / chandrakala
without placing "public",the program cannot be
executed..static is used becoz JVM's first priority will be
always given to static itself..so that without depending on
the object,we must execute the program.void main it used becoz
it wont allow returning any value.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of defining packages in java?
What is linkedlist in java?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
What is string intern in java?
Why there are some null interface in java? What does it mean?
Define how can we find the actual size of an object on the heap?
Can we override constructors in java?
Why Java is not pure Object Oriented language?
How do you convert an int to a string in java?
how to deploy tomcatserver to weblogic server? write d following steps?
What is the purpose of object oriented programming?
What is the main function in java?
What is the functionality of the stub?
What is the requirement of thread in java?
which pattern is default in scanner package?