![]() |
![]() |
![]() |
![]() |
![]() |
|
The definition of the Demonstrate class begins with two keywords:
public and class.
*-- Keywords
|
v
------------
public class Demonstrate {
...
}
public indicates how accessible the
Demonstrate class is to be.
class indicates that a class is about to be defined.