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.
When you actually use that class to make a THING, this is what you make. A method is a bit of code that can be called when needed (often as part of an class, but not always) Here's an example: I write a class called Ball. In my main code, I then write a=Ball.new, b=Ball.new, c=Ball.new.
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.