. . . "You define class by using class literal in Java, and other OOP language like C++ and C# also has similar syntax." .