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.
A method (or message) in object-oriented programming (OOP) is a procedure associated with an object class. An object is made up of behavior and data. Data is represented as properties of the object and behavior as methods. Methods are also the interface an object presents to the outside world. For example a window object would have methods such as open and close. One of the most important capabilities that a method provides is method overriding.