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.
In Java, besides the native types bool, int, long, etc., everything is an Object. When you define a Object variable, it points to the object, to null, or in certain cases can be uninitialised. Both point to a String object, one with no characters (length=0), the other to the foo three characters. The uninitialised case is a special one. When you're defining a class property, java auto-initializes the variables, but if they are variables inside your method, they aren't. class Foo { private String s; // defaults null private int i; // default zero }.