...

/

Beginning a Class Definition

Beginning a Class Definition

In this lesson, we will look at the general outline of the syntax for the Greeter class.

Defining the class Greeter

The definition of the class Greeter has the following form:

public class Greeter
{
   . . .
} // End Greeter

The access modifier public indicates the class’s availability. All clients may use this class. ...

Access this course and 1400+ top-rated courses and projects.