Posts

Showing posts from April, 2025

Java and Object Oriented Programing (OOP)

  What is Object Oriented Programming? Object-oriented programming is a form of programming that is more in tune with how we view things in other aspects of our lives. Rather than using functions or specific logic to create code, it centers software design around "objects" or data. It has been easier to wrap my head around because I can relate certain aspects of it to parts of my everyday life. In today's post, I'll go over a few of the core concepts of object-oriented programming, and you'll have a better understanding of what I'm getting at by the end.  What are the core concepts of object-oriented programming? In object-oriented programming, there are four core concepts. These concepts include encapsulation, inheritance, polymorphism, and abstraction. Encapsulation:  Encapsulation is the idea of bundling attributes and functions that operate on data into units called classes. There are different types of classes, but we won't dive too far into that here...