java class example structure definition