When defining a class, its concrete form and essence are declared. To do this, specify the data that contains the java class, and the code that affects this class data. The class keyword is used to declare a class. Data defined within a class is called instance variables.