• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 8 pages
Summary

Summary Java Programming - Complete Study Guide

Document preview thumbnail
Preview 2 out of 8 pages

A complete original study guide for Java: syntax, control flow, OOP (classes, inheritance, polymorphism), collections framework, exception handling, streams and lambdas. Includes exam-focused code examples, comparison tables and practice questions. Ideal for Java courses and interviews.

Content preview

Java Programming - Complete Study
Guide
Syntax, OOP, collections, exceptions, streams and JVM basics - with
exam-focused examples




Complete Study Guide | Key Concepts | Examples | Practice Questions

, 1. Java Basics and the JVM

Java is statically typed, object-oriented and platform-independent: source compiles to bytecode, and the JVM
executes it anywhere. The JDK includes compiler + JVM; the JRE is runtime only.


public class Hello {
public static void main(String[] args) {
System.out.println("Hello, World!");
int x = 5;
double pi = 3.14;
String s = "Java";
boolean ok = true;
}
}



- Compile: javac Hello.java -> run: java Hello.
- Primitive types: byte, short, int, long, float, double, char, boolean.
- String is a class (immutable); compare with .equals(), never ==.
- JVM does garbage collection - no manual memory management like C++.




Page 1

Document information

Uploaded on
October 2, 2026
Number of pages
8
Written in
2026/2027
Type
Summary
$5.98

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
25
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions