Posts

Showing posts from February, 2022

Concepts of Object-Oriented Programming

Image
     While there is a specific set of rules to communicate with a computer, there are still multiple ways to achieve this. Similar to the previously explored concept of Python in this blog, Java is also what is known as a Object-Oriented Programming System (OOPs).    Image via Olivia Cuthbert at Science Data Central      Some of the common terminologies used when discussing OOPs are as follows: Object: To be considered an object, an item only needs a state and behavior (JavatPoint, 2021). An object can be physical (like the keyboard I am typing on right now) or logical (like the concept of a law). Class: A grouping of objects that are categorized under logical capabilities (Banda, 2020).  Method: A change made at the class level that affects all the included objects (Banda, 2020).  Instance: A specific object that can be held up as an example of a class. Via Tech Vidian            Now that we've defined some of the most common terms used in Java, it is time to take a look at t