What does private MesgBean bean mean?Does it create the object called bean of the class MesgBean? Or it only define it is the private?

What does private MesgBean bean mean?Does it create the object called bean of the class MesgBean? Or it only define it is the private?

It just creates an object from the MesgBean class. The object remains NULL until you initialize it using constructor. This does not have any connection with being public or private.
It declares a member in the type that this declaration appears in.
The member's name is "bean".
The member's type is "MesgBean" (in the same package as the one of the type (/class) that this declaration appears in).
The member is not initialized.
And the "private" part means the member will only be visible to code within this type.