JAVA: Conditionals and Loops

if statement int x = 7; if (x < 42) { System.out.println("Hello"); } if…else statement int age = 30; if (age < 16) { System.out.println("Too Young"); } else { System.out.println("Welcome!"); } //Outputs "Welcome!" else if statement int age = 25; if(age <= 0) { System.out.println("Error"); } else if(age <= 16) { System.out.println("Too Young"); } else […]

JAVA & OOP Basics (Notes)

Definitions & Abbreviations: JDK (Java Development Kit): Download JVM (Java Virtual Machine) IDE (Integrated Development Environment), e.g. IntelliJ IDEA: Download & Help OOP (Object-Oriented Programming) UML (Unified Modeling Language) UI (User Interface) API (Application Programming Interface) JSR (Java Specification Request) разрабатываются JCP (Java Community Process): список JSR W3C (World Wide Web Consortium) is the main international standards organization […]