Newbie II Newbie
Hi, Java Newbies,
Welcome to your first cup of Java! Prior to brewing up your first cup of Java, we must first install the coffeeMaker, A.K.A Java Development Kit (JDK). In order to successfully create/build and run Java applications, we must first install the necessary tools, which consist of: [i] Java Development Kit (JDK), and an [ii] Integration Development Environment (IDE), respectively. JDK can be downloaded free by navigating to the official Oracle website. See link below. Additionally, there are a number of open source Integration Development Environment (IDE) tools that can be downloaded for free; including Eclipse, IntelliJ, and NetBeans, just to name a few. For example, if we wanted to build a house, JDK would be the tools, and materials, while IDE would be like the plot of land! And, you, as a Developer would be the builder. So, let’s get started, and get to building!
First thing first, let’s navigate to the official Oracle website to download the JDK tool. See link below. Secondly, we’ll navigate to Google, and search for open source IDEs. Two recommended and popular IDEs are Eclipse, and IntelliJ. So, choose the IDE of your choice, and then we can get to brewing (a simple Notepad program also can be used to write Java code). Next, we’ll navigate back to the official Oracle website so that we can get some tips about Java Libraries, Objects, Packages, Classes, and other components of JDK. And, lastly, we’ll run a Command Prompt command to ensure that JDK was successfully and properly installed. See W3Schools link below. After we’ve completed all of the previously mentioned tasks, we’re ready to become Java Baristas! Good luck!
TIP: The four pillars of Object-Oriented Programming (OOP) are Encapsulation, Abstraction, Inheritance, and Polymorphism. Encapsulation involves bundling the data (attributes) and methods (functions) that operate on the data into a single unit or class, and controlling access to this data through access modifiers, by using Java keywords, such as, public, private, protected, or default, respectively. Abstraction simplifies complex systems by hiding unnecessary details and exposing only essential features to the end-user. Inheritance allows a class to inherit properties and behaviors (methods) from another class, promoting code reusability. Polymorphism enables objects (subclasses/child classes/derived classes) to be treated as instances of their super class/parent class/base class while allowing different classes to define specific implementations of methods, leading to flexible and dynamic code execution.
Link to download JDK:https://www.oracle.com/java/technologies/downloads/
Link to download Eclipse:https://www.eclipse.org/downloads/
Link to W3Schools:https://www.w3schools.com/java/java_getstarted.asp
Link to Java Libraries:https://medium.com/@cancerian0684/what-are-four-basic-principles-of-object-oriented-programming-645af8b43727
No comments:
Post a Comment