Quick Java Tutorial
Learn the basics of Java programming. Covering variables, conditionals, loops, methods, classes, and objects.
Overview
Variables
/* Syntax: Type variableName = VALUE; */
int wholeNumber = 93;
double numberWithDigits = 46.85;
String text = "words and stuff";
boolean isValid = true;
boolean isNegative = -3 < 0;
MyObject obj = new MyObject();Conditionals
Loops
Class Methods
Access Modifier keyword
Description
Non-Access Modifier keyword
Description
Classes
Using Objects
Last updated