Java is an Object Oriented Programming Language (OOPL). To give structure to the program, you use objects.

How does this makes sense?

The inventors of Java could have chosen, NO structure. Just write your code. This will result in:


are objects a good alternative:

  • it is close to the way of thinking in the real world
    • easier to translate a real world problem to code language