JAVA Programming Tip Sheet
This resource summarizes the most commonly-used Java language features, with examples of actual JAVA code.

• Hello, World
• Editing, compiling, and executing.
• Built-in data types.
• Declaration and assignment statements.
• Integers.
• Floating-point numbers.
• Booleans.
• Comparison operators.
• Printing.
• Parsing command-line arguments.
• Math library.
• Java library calls.
• Type conversion.
• Anatomy of an if statement.
• If and if-else statements.
• Nested if-else statement.
• Anatomy of a while loop.
• Anatomy of a for loop.
• Loops.
• Break statement.
• Do-while loop.
• Switch statement.
• Arrays.
• Two-dimensional arrays.
• Standard output library.
• Standard input library.
• Standard drawing library.
• Standard audio library.
• Redirection and piping.
• Functions.
• Libraries of functions.
• Standard random library.
• Standard statistics library.
• Using an object.
• Instance variables.
• Constructors.
• Instance methods.
• Classes.
• Object-oriented libraries.
• Java's String data type.
• Java's Color data type.
• Input library.
• Output library.
• Picture library.
• Stack data type.
• Queue data type.
• Iterable.
• Symbol table data type.
• Set data type.
• Graph data type.

This resource is great for beginning programmers, or as a refresher for experienced programmers.

AP Computer Science Principles requires students to create a software program, and this resource is very helpful to teach the specific skills required to successfully create the program.

Free

Save for later
  • Java-Programming-Cheatsheet_DrBealman.pdf

About this resource

Info

Created: Jan 11, 2017

Updated: Feb 22, 2018

Study Guide

pdf, 5 MB

Java-Programming-Cheatsheet_DrBealman

Report a problem

Creative Commons "Sharealike"

Creative Commons "Sharealike"