Java Cheat Sheet - Programming with Mosh
Java
Cheat Sheet
Mosh Hamedani
Code with Mosh ()
1st Edition
About this Cheat Sheet
This cheat sheet includes the materials I¡¯ve covered in my Java tutorial for
Beginners on my YouTube channel:
Both the YouTube tutorial and this cheat cover the core language constructs and
they are not complete by any means.
If you want to learn everything Java has to offer and become a Java expert, check
out my Ultimate Java Mastery Series.
About the Author
Hi! My name is Mosh Hamedani. I¡¯m a software engineer
with two decades of experience and I¡¯ve taught over three
million people how to code or how to become a professional
software engineer. It¡¯s my mission to make software
engineering simple and accessible to everyone.
Basics ...................................................................6
Java Development Kit ..............................................................................6
Java Editions ............................................................................................6
How Java Code Gets Executed ................................................................ 6
Architecture of Java Applications ..........................................................6
5 Interesting Facts about Java ................................................................ 7
Types ....................................................................8
Variables................................................................................................... 8
Primitive Types .......................................................................................8
Declaring Variables .................................................................................8
Comments .................................................................................................9
Reference Types........................................................................................ 9
Strings .......................................................................................................9
Useful String Methods .............................................................................9
Escape Sequences ................................................................................... 10
Arrays .....................................................................................................10
The Array Class .......................................................................................11
Multi-dimensional Arrays ......................................................................11
Constants ................................................................................................. 11
Arithmetic Expressions ........................................................................... 11
Order of Operations ............................................................................... 12
Casting .................................................................................................... 12
Formatting Numbers.............................................................................. 13
Reading Input ........................................................................................13
Control Flow ...................................................... 14
Comparison Operators ........................................................................... 14
Logical Operators ...................................................................................14
If Statements ...........................................................................................14
The Ternary Operator ............................................................................15
Switch Statements...................................................................................15
For Loops ................................................................................................ 16
While Loops .............................................................................................16
Do..While Loops ......................................................................................16
For-each Loops .......................................................................................16
Want to Become a Java Expert? ...........................................................18
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- minecraft free download 1 8 full installer
- java cheat sheet programming with mosh
- black art of java game programming introduction
- crafting guide smelting guide
- free minecraft premium account 86b
- minecraft redstone essentials and must do projects
- includes common core teacher s guide standards state
- minecraft pe free download ios no jailbreak
- minecraft sky factory 4 modpack download
- minecraft scaffold hack download weebly
Related searches
- cheat sheet for word brain game
- macro cheat sheet pdf
- logarithm cheat sheet pdf
- excel formula cheat sheet pdf
- excel formulas cheat sheet pdf
- excel cheat sheet 2016 pdf
- vba programming cheat sheet pdf
- macro cheat sheet food
- free excel cheat sheet download
- onenote cheat sheet pdf
- punctuation rules cheat sheet pdf
- excel formula cheat sheet printable