Posts

Showing posts from May, 2023

Newbie to Newbie Blog- Part One

Image
  Hello Newbie, Let’s talk about Object-oriented Programming and Java. The four principles are encapsulation, abstraction, inheritance, and polymorphism. But before we get into that let’s discuss some programming concepts first. According to https://docs.oracle.com/javase/tutorial/java/concepts/index.html The following concepts provide an introduction of the syntax in Java programming. What Is an Object? An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that you find in everyday life. A real-world example might be a pen, chair, table, computer, etc. What Is a Class? A class is a blueprint or prototype from which objects are created. A simple class can cleanly model state and behavior.  What Is Inheritance? An interface is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that interface. What Is a Package? A package...