Java Final Exam

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:05 PM on 7/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

26 Terms

1
New cards

"Term","Definition"

2
New cards

"Java Platform","A software environment consisting of the JVM, API, and tools that allows Java programs to run on any machine regardless of the underlying operating system."

3
New cards

"Write Once, Run Anywhere (WORA)","The core philosophy of Java, meaning compiled Java code can execute on any device that has a compatible Java Virtual Machine (JVM) installed."

4
New cards

"JDK (Java Development Kit)","The software development environment used to compile and run Java programs, containing the JRE, compiler (javac), and documentation tools."

5
New cards

"JVM (Java Virtual Machine)","The engine that executes Java bytecode, translating it into native machine code line-by-line during runtime."

6
New cards

"Bytecode","The intermediate, platform-independent machine language produced by the Java compiler (.class file) that runs directly on the JVM."

7
New cards

"Primitive Variable","A variable that stores the actual, raw data value directly in its memory location (e.g., int, double, boolean)."

8
New cards

"Reference Variable","A variable that stores the memory address (pointer) of where an object or array is physically located, rather than the data itself."

9
New cards

"Primitive Types (The 8)","byte, short, int, long, float, double, char, and boolean. These are built-in and do not have methods."

10
New cards

"Decision Structure","A programming mechanism used to evaluate conditions and alter the flow of execution based on true/false outcomes (e.g., if/else, switch)."

11
New cards

"Short-Circuit Evaluation","Java logic where the second operand isn't evaluated if the first determines the outcome (e.g., in 'false && x', x is ignored; in 'true || x', x is ignored)."

12
New cards

"Class","A blueprint, template, or user-defined data type used to create individual objects, defining their attributes and behaviors."

13
New cards

"Object","An active instance of a class that holds real data values in memory and can perform actions using methods."

14
New cards

"Encapsulation","An OOP concept that hides an object's internal data by making variables private and forcing access through public getter and setter methods."

15
New cards

"Inheritance","An OOP concept where a subclass inherits all attributes and methods from a parent superclass using the 'extends' keyword to promote code reuse."

16
New cards

"Polymorphism","An OOP concept meaning 'many forms' that allows a single method name to behave differently based on the object calling it (via overriding or overloading)."

17
New cards

"Interface","A completely abstract structure defined with the 'interface' keyword that forces implementing classes to write concrete code for its empty method signatures."

18
New cards

"UML Class Diagram","A visual design tool mapping out classes, showing their variables, methods, visibility modifiers (+ for public, - for private), and relationships."

19
New cards

"public","A Java visibility modifier keyword making a class, variable, or method accessible to any other class in the entire application."

20
New cards

"private","A Java visibility modifier keyword restricting access to a variable or method so it can only be seen and used inside its own class."

21
New cards

"static","A Java keyword meaning a variable or method belongs to the class itself rather than individual instances, accessed without creating an object."

22
New cards

"final","A Java keyword making variables unchangeable constants, preventing classes from being inherited, or stopping methods from being overridden."

23
New cards

"Java API","The pre-written collection of thousands of libraries and classes provided by Oracle to handle tasks like string manipulation, math, and networking."

24
New cards

"AWT (Abstract Window Toolkit)","Java's original GUI toolkit that relies heavily on the operating system's native code, resulting in an interface that looks different on every machine."

25
New cards

"SWING","Java's second-generation GUI toolkit that is written entirely in Java, providing highly portable, lightweight, and customizable interface components."

26
New cards