class Sample{public static void main(String args[]){System.out.println("Java is pure OOP");}}Now Understanding the programThe first line class Sampledeclare a class, which is an object oriented construct. Java is a pure object oriented language so everything in java must be placed inside a class. class is a keyword and used to declare a new class definition. Sample is a java identifier that specifies the name of the class to be defined.The Braces { & }In java every class definition begins with an open brace “{“ and end with a matching closing brace “}” just like in C++. But 1 thing to remember , in C++ class definition ends with a semicolon “;” but in java it’s not.For example In C++class SampleCPPclass{//Body of the class};//Semicolone requiredIn Javaclass SampleCPPclass{//Body of the...