what is purpose of writting public static void main(Strind
arg[]) in java..?
Answer Posted / srinivas nallavelli
public-> it must be available to jvm
static-> to use without instantiation
void-> does not return any thing
String[] args -> to take every variable as string
..through cmmand line arguements
Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
Write a program to show whether a graph is a tree or not using adjacency matrix.
What is the generic function?
What is finally block?
Write a program to find the greatest of three numbers in java?
What is 16 bits called?
State the merge-sort principle and its time complexity.
If try block is successfully executed, Then Is Finally block executed?
What is the lifetime and scope of a variable?
How do you reverse a word in java?
What is the difference between the paint() and repaint() methods?
What are different data types?
How do you differentiate abstract class from interface?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
What is the difference between Error, defect,fault, failure and mistake?
Explain the differences between static and dynamic variables?