Java Programming Fundamentals Study Guide
A comprehensive guide to Java programming, covering core concepts such as variables, data types, operators, control flow, arrays, methods, and basic data structures. This guide is suitable for beginners and those looking to solidify their understanding of fundamental Java programming principles.
Save this study guide to your study set
Your learning path
Java Fundamentals and Core Concepts
Java Fundamentals and Core Concepts
Concise study notes covering Java fundamentals from the first program to arrays, sorting, searching, complexity, ArrayList and Strings.
- public class
- public static void main
- bits and bytes
- two's complement
- ASCII codes
- Unicode
- Object-oriented
- Platform independent
- Strongly and statically typed
- Robust
- automatic garbage collection
- exception handling
- Import & open
Flashcards
Import to get started
- Import & open
Quiz
Import to get started
- Import & open
Practice test
Import to get started
- Import & open
Listen
Import to get started
- Import & open
Tutor Me
Import to get started
- Import & open
Watch
Import to get started
- Import & open
Chat
Import to get started
- Import & open
Arcade
Import to get started
Variables, Types, and Operators
Java Variables, Types, and Operators
This document covers Java variables, primitive types, casting, arithmetic and bitwise operators, and string concatenation.
- byte
- short
- int
- long
- float
- double
- widening
- narrowing
- casting
- remainder
- compound assignment
- increment
- decrement
- operator precedence
- short-circuit
- bitwise operators
- string concatenation
- Arrays.toString()
- Arrays.deepToString()
- Import & open
Flashcards
Import to get started
- Import & open
Quiz
Import to get started
- Import & open
Practice test
Import to get started
- Import & open
Listen
Import to get started
- Import & open
Tutor Me
Import to get started
- Import & open
Watch
Import to get started
- Import & open
Chat
Import to get started
- Import & open
Arcade
Import to get started
Control Flow, Arrays, and Algorithm Analysis
Java Control Flow and Loops
This topic covers if/else-if ladders, nested if statements, switch statements, and various loop structures including for, while, and do-while loops.
- if / else-if ladder
- Nested if
- dangling else
- switch statements
- for loops
- while loops
- do-while loops
- enhanced for
- break, continue, return
- Tracing values (dry run)
- Loop iterations
- Number patterns
Java Programming Fundamentals and Data Structures
This content covers Java syntax, method implementation, array manipulation, sorting algorithms, search techniques, asymptotic analysis, and the use of ArrayList and wrapper classes.
- Method syntax and return types
- Method overloading
- Variable scope
- Pass-by-value
- Array declaration and creation
- Heap memory and references
- Array traversal
- Two-dimensional and jagged arrays
- Insertion sort
- Linear search
- Binary search
- Big-O asymptotic analysis
- Time and space complexity
- Integer overflow
- Math class methods
- Wrapper classes and autoboxing
- ArrayList advantages and operations
Java Strings and Numerical Logic
This content covers String immutability, StringBuilder usage, and various numerical algorithms including palindrome checks and digit manipulation.
- String immutability
- String pool
- equals() vs == comparison
- StringBuilder mutable sequences
- String reversal methods
- Palindrome detection
- Factors of a number
- Digit counting and summation
- Sum of odd numbers
- Integer overflow
- Pass-by-value
Make it your own.
Keep these readings and topics in a new study set, or add them to one you already use.