• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Other

CST 8116 Final Exam Cheatsheet 2026 | Java Variables, Methods & Data Types | Complete Study Guide (Algonquin College)

Document preview thumbnail
Preview 1 out of 3 pages

CST 8116 Final Exam Cheatsheet 2026 | Java Variables, Methods & Data Types | Complete Study Guide (Algonquin College)

Content preview

Variables: Comparison Operators:




Java editing, compiling and executing:

If statement anatomy:




For loop(alternative loop) Anatomy:
While loop(pretest loop) Anatomy:




Switch Statement: Some array examples:




Java Primitive Data Types:

-Boolean
-char (16 bits)
-byte (8-bits of memory, numerical range is from -128 to 127)
-short (16-bits of memory, numerical range is from -32,768 to 32,767)
-int (32-bits of memory, numerical range is from -2^31 to 2^31 -1)
-Long (64-bits of memory numerical range is from -2^63 to 2^63 -1)
-Float (4 bytes)
-double (8 bytes)

Non-Primitive Data Types:

-String, Array, Class, Interface
Instance Variables:
Types of Variables:

Instance variables:
Declared inside the class but outside of the method, block or
constructor. If not initialized, the default value is 0. Variables are
created when an instance of the class is created and destroyed when it
is destroyed.

Document information

Uploaded on
March 19, 2026
Number of pages
3
Written in
2025/2026
Type
Other
Person
Unknown
$15.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
professoraxel
3.8
(496)
Sold
2702
Followers
1587
Items
20915
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions