0% found this document useful (0 votes)
6 views14 pages

javaar

This document is a Java cheat sheet created by Vikas Maurya, covering essential topics such as data types, control structures, loops, and arrays. It includes information on editing, compiling, executing, and printing in Java, as well as the use of the Math library and command-line arguments. The cheat sheet serves as a quick reference for Java programming concepts and syntax.

Uploaded by

syahirah.work61
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views14 pages

javaar

This document is a Java cheat sheet created by Vikas Maurya, covering essential topics such as data types, control structures, loops, and arrays. It includes information on editing, compiling, executing, and printing in Java, as well as the use of the Math library and command-line arguments. The cheat sheet serves as a quick reference for Java programming concepts and syntax.

Uploaded by

syahirah.work61
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

JAVA

CHEAT SHEET
BY – VIKAS MAURYA

YOUTUBE

1. CODE WITH VIKAS

2. VIKAS MAURYA ACADEMY


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.

Inline array initialization.


Typical array-processing code.
Two-dimensional arrays.

Inline initialization.

Our standard output library.


Formatted printing.

You might also like