Hi,
I'm trying to learn java and I don't understand the flow here? When will the statement in red get excecuted?
Thanks in advance.
I'm trying to learn java and I don't understand the flow here? When will the statement in red get excecuted?
Thanks in advance.
Code:
public class Registration
{ [COLOR=red]
private AttendeeList attendeeList = new AttendeeList
[/color]
public void run()
{
//do something
}
public static void main()
{
System.out.println("Welcome to class Regist.");
Registration register = new Registration();
register.run();
}
}