Java Program Examples, It defines the properties (data) and behaviors (methods) that objects of that class will have.