PROGRAM AREA
Statistics
The Highest Post
Statistics
Count
94
Avg
21.00
Min
21
Max
21
Angualr Top questions
Details
Peter Agyekum
What is static in Java?
static is a scope keyword that means the method exists before an object of the class is instantiated. To say it another way, Static means that the method belongs to the class NOT the object. In fact, it is globally visible to all instances of the class. The main method is static because the JVM needs to be able to access the method without creating an instance of the class that contains it – that would require another class and method in which it would do so, and another for instantiating that class, etc. Void is the return type for this method and means that nothing is returned
Post Reply
Back to HomePage
Related Topics
What is Java Virtual machine?
What does it mean, when code is written in discrete units of related code?
What is the first line in a class?
What is the the second line of a class ?
What is access modifiers in Java?
How do you name your class?
What is a method
What is examples of method's Access Modifier?
What is static in Java?
Give some characteristics of Java?
Explain more on discrete units of related code?
what steps need to follow to write your java program?
Describe the variables in Java?
How may primitive data types in Java?
What does assignment operator do?
What is An array?
How does an Array instantiated?
What is JavaScript prototype?
What is Functional Interface in Java?
lambda expression in java 8?
What are the four Garbage memory collectors in Java?