Introduction to Java – Lecture Vocabulary

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/45

flashcard set

Earn XP

Description and Tags

A vocabulary set covering the essential Java terms, components, memory areas, variable types, and literal formats discussed in the lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

46 Terms

1
New cards

Java

A high-level, object-oriented programming language used to build robust, platform-independent applications.

2
New cards

James Gosling

Co-creator of Java at Sun Microsystems in 1995.

3
New cards

Bill Joy

Co-creator of Java alongside James Gosling at Sun Microsystems.

4
New cards

Sun Microsystems

The company where Java was originally developed before being acquired by Oracle.

5
New cards

Oracle (Java)

Company that bought Java on January 27, 2010 and now provides major updates every six months.

6
New cards

OAK

The original name for Java, designed for interactive TV set-top boxes.

7
New cards

Write Once, Run Anywhere (WORA)

Java’s principle that compiled code can run on any platform with a JVM.

8
New cards

Applet

A small web-based embedded Java application.

9
New cards

Swing

Java’s GUI toolkit for building desktop applications.

10
New cards

Java Server API

A collection of Java technologies for building enterprise web applications.

11
New cards

Robust (Java feature)

Java’s ability to handle runtime errors and manage memory safely.

12
New cards

Portable

Property that allows Java programs to run on different hardware/OS without modification.

13
New cards

Multi-threading Support

Java’s built-in capability to run multiple threads concurrently for better performance.

14
New cards

Exception Handling

Java mechanism for detecting and managing runtime errors gracefully.

15
New cards

Collection API

Java framework of classes and interfaces for storing and manipulating groups of objects.

16
New cards

Java Development Kit (JDK)

Complete development environment that includes JRE, JVM, compiler (javac), libraries, and tools for building Java apps.

17
New cards

Java Runtime Environment (JRE)

Software package containing JVM and core libraries required to run Java programs.

18
New cards

Java Virtual Machine (JVM)

Abstract computing machine that loads, verifies, and executes Java bytecode on any hardware.

19
New cards

javac

Java compiler that converts .java source files into .class bytecode files.

20
New cards

Bytecode

Platform-independent instruction set produced by javac and executed by the JVM.

21
New cards

Just-in-Time (JIT) Compiler

JVM component that converts bytecode into native machine code during runtime for faster execution.

22
New cards

JShell

Java’s interactive REPL that lets developers test and run code snippets directly in a terminal.

23
New cards

Stack Memory (JVM)

Region storing method calls and local variables; each thread gets its own stack.

24
New cards

Heap Memory (JVM)

Area where objects and instance variables are allocated and garbage-collected.

25
New cards

Method Area / MetaSpace

JVM region holding class-level metadata, static variables, and constant pools.

26
New cards

PC Register

Per-thread register that holds the address of the current JVM instruction.

27
New cards

Native Method Stack

Memory area that manages calls to native (non-Java) methods, such as C/C++ functions.

28
New cards

Local Variable

Variable declared inside a method, block, or constructor; exists only during method execution; stored on the stack.

29
New cards

Instance Variable

Non-static variable defined inside a class but outside methods; each object has its own copy; stored on the heap.

30
New cards

Static Variable

Variable declared with the static keyword; shared by all instances; stored in the method area.

31
New cards

Final Variable

Variable declared with final whose value cannot be changed once assigned.

32
New cards

Literal

Fixed constant value written directly in code, such as 10 or "Hello".

33
New cards

Integer Literal

Whole-number constant; default type int (e.g., 42, ‑7).

34
New cards

Floating-Point Literal

Decimal constant; default type double unless suffixed with f/F for float (e.g., 3.14, 2.5f).

35
New cards

Character Literal

Single-character constant enclosed in single quotes (e.g., 'A', '\n').

36
New cards

String Literal

Sequence of characters enclosed in double quotes (e.g., "Java").

37
New cards

Boolean Literal

Logical constant true or false.

38
New cards

Null Literal

Special literal null denoting no reference value.

39
New cards

Octal Literal

Integer literal beginning with 0 representing base-8 value (e.g., 012).

40
New cards

Hexadecimal Literal

Integer literal beginning with 0x or 0X representing base-16 value (e.g., 0xFF).

41
New cards

Binary Literal

Integer literal beginning with 0b or 0B representing base-2 value (e.g., 0b1010).

42
New cards

Scientific Notation Literal

Floating-point literal using e/E to represent powers of ten (e.g., 1.5e2).

43
New cards

Underscore in Numeric Literals

Feature (Java 7+) allowing underscores to improve readability in numbers (e.g., 1000000).

44
New cards

Type Casting / Conversion

Process of converting one data type into another, either implicitly or explicitly in Java.

45
New cards

Garbage Collection

Automatic memory management process in the JVM that reclaims unused objects.

46
New cards

Sandbox (JVM)

Secure execution environment provided by JVM to restrict untrusted code.