0% found this document useful (0 votes)
5 views1 page

Java

This appendix provides a comprehensive cheatsheet for commonly used Java programming features and APIs, covering topics such as programming elements, functions, object-oriented programming, and data structures. It includes essential information on built-in data types, control structures, loops, arrays, and libraries. Additionally, it offers resources for further learning and practical applications in Java programming.

Uploaded by

Eric Rivera
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)
5 views1 page

Java

This appendix provides a comprehensive cheatsheet for commonly used Java programming features and APIs, covering topics such as programming elements, functions, object-oriented programming, and data structures. It includes essential information on built-in data types, control structures, loops, arrays, and libraries. Additionally, it offers resources for further learning and practical applications in Java programming.

Uploaded by

Eric Rivera
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/ 1

APPENDIX D: JAVA PROGRAMMING CHEATSHEET

This appendix summarizes the most commonly used Java language


features and APIs in the textbook.

Hello, World.

INTRO TO PROGRAMMING
1. Elements of Programming

2. Functions

3. OOP

4. Data Structures

COMPUTER SCIENCE
5. Theory of Computing

6. A Computing Machine

7. Building a Computer

BEYOND
Editing, compiling, and executing.
8. Systems

9. Scientific Computation

RELATED BOOKSITES

WEB RESOURCES Built-in data types.


FAQ

Data

Code

Errata

Lectures

Appendices

Online Course

Programming Assignments
Declaration and assignment statements.
Custom Search

Integers.

Floating-point numbers.

Booleans.

Comparison operators.

Printing.

Parsing command-line arguments.

Math library.

The full java.lang.Math API .

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.

The full StdOut API.

Our standard input library.

The full StdIn API.

Our standard drawing library.

The full StdDraw API.

Our standard audio library.

The full StdAudio API.

Command line.

Redirection and piping.

Functions.

Libraries of functions.

Our standard random library.

Our standard statistics library.

Using an object.

Instance variables.

Constructors.

Instance methods.

Classes.

Object-oriented libraries.

Java's String data type.

You might also like