Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Let's walk through the source code needed to create a class definition. The first line of code defines the code block as a class definition using the keyword Class followed by the name of the class. The body of the class definition is enclosed by an open and closing curly bracket. The code block is structured like this:
class Employee
{
}