This has caused many fans to question just how much they get to star on Teen Mom. Check out how much the stars of Teen Mom and Teen Mom 2 are worth according to Celebrity Net Worth. Estimated Net Worth: $30 Thousand. Teen Mom 2 star Jenelle Evans is unfortunately famous for not doing well as a teen mom at all.
The keyword static indicates that the method is a class method, which can be called without the requirement to instantiate an object of the class. This is used by the Java interpreter to launch the program by invoking the main method of the class identified in the command to start the program. void.
The keyword static allows main() to be called without having to instantiate a particular instance of the class. This is necessary since main() is called by the Java interpreter before any objects are made. The keyword void simply tells the compiler that main() does not return a value.gain static method of a particular class can be accessed only by referring to the class like: Class_name.method_name(); So a class need not to be instantiated before accessing a static method. So the main() method is declared as static so that it can be accessed without creating an object of that class.