Initialization Blocks and Inner Class
Initialization Blocks and Inner Class
//Initialization block 1
//Initialization block 2
Static {
//blank constructor
public Blocks(){
this();
}
Inner Class:
Inner class is used to logically group the classes together
When a class is supposed to be used by one single class
/** * Company Class Stores information about the company and its customers * */
companyeg.getAllCustomers();