Terminology

class
public class <classname>

A class defines an object. A class has variables and methods
(functions)

Example:
Public class suitcase {
Variables:
String color, weight; // (variables)

Methods:
public lift {}
public open {}
public close {}
}

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.