The Fission Theory: This theory proposes that the Moon was once part of the Earth and somehow separated from the Earth early in the history of the solar system.
This provides modular approach to programming. Classes. A class is a concept used in object oriented programming languages such as C++, PHP, and JAVA etc. Apart from holding data, a class is also used to hold functions. An object is an instant of a class. In case of variables, the type is the class whereas the variable is the object.
Answer Wiki. Difference number 1: Public class is a class .Public static void main (string args[]) is a method. 2.Class is an entity which describes the behavior of its objects. Method(or function) is a set of statements executed to give desired result. main() method is the entry point of any application.