Answer Posted / chaithanya
main method is called by JVM.without creating the object we are calling main.that's what it is declared Static.
static nothing but without creating the object,we can call that method
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is lossy conversion in java?
Can arraylist contain null values?
What is numeric data type?
Can a class be private in java?
Explain different ways of creating a thread?
What is a parameter in java?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
How does enum work in java?
What is java argument list?
How many bytes is string in java?
Why char array is preferred over string for storing password?
What is an inner class in java?
What is the statements?
Variable of the boolean type is automatically initialized as?
What are the new features in java 8?