OOP #
OOP stands for Object Oriented Programming. While in some languages the program executes instructions line by line till the end of the file in object oriented languages objects are created in memory and then their methods are executed based on what methods in objects are being called.
Why OOP Use Being Used? #
Objects make it easy to write code that is reusable, easy to understand, and to hide complex codes away from the programmers who use those objects.
What are Differences Between Classes and Objects? #
Classes are written as .java
files and they are defined with the class
keyyword. On the other hand objects are
initiated from classes with the new
keyword while the sowtware is running.