class Test02{
void Star(){
// access modifier omitted (public, private, protected, or omitted)
// access modifier omitted (public, private, protected, or omitted)
System.out.println("******");
return; // can be omitted
}
}
public class fun05 {
public static void main(String[] args) {
//1 Test02 t; // t is initialized to null. The object itself does not exist yet.
// t= new Test02();
Test02 t = new Test02();
t.Star();
//Star();
System.out.print("hello Java");
t.Star();
}
}
