A reference repo that illustrates the following:
- Variables
- Scope
- If Else
- Switch
- Loops
- Equality/Identity
- Functions
- Stdin/Stdout
- Optionals
- Enums
- Constants
- Precedence
- Clone this repo
- Open the
pom.xml
file "Open as Project" - Navigate to the Main class, click on the green arrow to run the application
- Java Tutorial for Beginners (2h 30m)
- Java Tutorial - For Beginners (3h)
- Java Programming Tutorial 6 - Variables (9m)
- Java For Beginners: While, Do While & For Loops (11m)
- Java Enum Tutorial (6m)
- Java Final Keyword Tutorial - Learn Final Variables, Methods and Classes (7m)
- Casting (8m)
- Operator Precedence (Java Tutorial) (5m)
- Identity vs. Equality in Java with coding examples (6m)
- Java is pass/call by value or pass/call by reference (8m)
- Java OOPs Concepts (30m)
- Memory (10m)
- Garbage collection (5m)
- OOP: Object-oriented Programming in (7m)
- OOP: Object Oriented Programming In Java (2h)
Every program is a set of instructions, whether itβs to add two numbers or send a request over the Internet. Compilers and interpreters take human-readable code and convert it to computer-readable machine code.
- Two types of languages:
- Declarative (SQL)
- Imperative (JavaScript, Java)
- Two types of programs:
- Compiled (Java)
- Interpreted (JavaScript)
- Two types of strength:
- Strongly Typed (No implicit conversions allowed) (Java, TypeScript)
- Weekly Type (implicit conversions allowed) (JavaScript)
- Two types of typing:
- Statically Typed (Checked at compile time) (Java)
- Dynamically Typed (Checked at run time) (JavaScript)
- Two types of levels:
- One (+5v, +3v)
- Zero (0 volts)
- There are two types in Java: Primitvie Types and Reference Types:
- 8 Primitive Types (Value Types)
- Stored on the stack
- Reference types are objects (classes)
- Stored in heap memory, primitives in the class are stored in the heap
- 8 Primitive Types (Value Types)
- Lists/Arrays are zero based (first item is zero)
- Every Java app must have one static main method
- byte (Range: -128, 127)
- short (Range: -32,768, 32,767)
- int
- long
- float
- double
- boolean
- char
- Primitve Wrapper Objects:
- Byte
- Short
- Integer
- Long
- Float
- Double
- Boolean
- Character