Simplest Possible Class

suggest change
class TrivialClass {}

A class consists at a minimum of the class keyword, a name, and a body, which might be empty.

You instantiate a class with the new operator.

TrivialClass tc = new TrivialClass();

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents