Newbie to Newbie (CPT307 - Interactive Assignment 1)

Java is an object-oriented programming language or OOP for short.  An object can represent anything in the real world, including a person, a kitchen utensil, or a city. Using an OOP like Java allows developers the ability to utilize the four major principles of object-oriented programming, which are encapsulation, abstraction, inheritance, and polymorphism.  Encapsulation asserts that the state of an object can only be obtained or changed through the exposed methods of an object.  Abstraction is similar to encapsulation and represents the critical elements of an object that differentiate it from other objects.  Inheritance allows an object to utilize attributes from another object.  Finally, polymorphism allows a single class to be either override or overloaded within the code to provide a different result that is appropriate based on the object.

When first approaching Java, the correct Java Development Kit (JDK) needs to be downloaded from a trusted source.  There are two primary JDK available.  One is provided by Oracle, who owns and manages Java, and the other is an open-source version called OpenJDK. Due to recent licensing changes from Oracle, please ensure that you will comply with the license before using it.  The license details can be found at https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html.  For personal education, either edition should be fine.  The following installation video on youtube.com provides information on the download and installation of OpenJDK:



https://www.youtube.com/watch?v=lvGFOeMWt98  

My preference for an IDE for development is Microsoft Visual Studio Code (VSCode).  VS Code is a free, lightweight Integrated Development Environment (IDE) provided by Microsoft.  VS Code is available at https://code.visualstudio.com/.  For a tutorial for installing VS code:


https://www.youtube.com/watch?v=MlIzFUI1QGA

Once VS Code is installed on your computer, the Java Pack installer, located at https://code.visualstudio.com/docs/languages/java, needs to be added to VS Code.  For a tutorial on the installation of the Java Pack for VS Code, please see the link below: