The document defines key vocabulary terms related to Java programming including:
- Accessor methods access objects without changing them, while mutator methods change an object's state.
- The JDK contains tools like the Java compiler for building programs, while the JVM is the abstract computing machine that executes Java code.
- Variables identify storage locations for values, while parameters pass information to methods when called. Types define sets of values and operations for classes like int and double.
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 ratings0% found this document useful (0 votes)
32 views2 pages
Vocabulary - Chapters 1 and 2
The document defines key vocabulary terms related to Java programming including:
- Accessor methods access objects without changing them, while mutator methods change an object's state.
- The JDK contains tools like the Java compiler for building programs, while the JVM is the abstract computing machine that executes Java code.
- Variables identify storage locations for values, while parameters pass information to methods when called. Types define sets of values and operations for classes like int and double.
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/ 2
Vocabulary - Chapters 1 and 2
Accessor method - accesses an object but doesn't change it
CPU - executes machine instructions JDK - contains Java compiler and tools return value - returns whatever value is called API - code library for building programs declaration - declares that something exists, such as a class, variable or function JVM - abstract computing machine run-time (logic) error - syntax is correct but the error will occur while program is running assignment - placing new value into variable explicit parameter - in parentheses after method; defines parameters of method method - sequence of statements that performs action statement - single syntactical statement bug - programming error floating-point number - number that can have a fractional part mutator method - changes state of object string - a sequence of characters free form new operator - operator that allocates new objects syntax - rules that define how to form instructions class - data type garbage collection - reclamation of memory from unused objects object - value of a class type type - named set of values and operations that can be carried out on them comment - explanation IDE - programming environment that includes compiler, editor, and debugger object reference - value that denotes location of object in memory variable - identifies a storage location of values compiler - program that translates code to instructions identifier - names of methods, variables, interfaces and packages; no starting w/ number parameter - info specified to method when called compile-time (syntax error) - instruction that doesnt follow language rules implicit parameter - object on which method is invoked RAM - store code and data of running programs constructor - method that initializes newly instantiated object initialization - setting value to well-defined value when created reserved word - has special meaning/function class - data type int - primitive class public - features of a class available to all double - wrapper class; decimal digits void - if method does not return any type java.awt.Rectangle - creates rectangle getHeight/Width/X/Y - retrieves height/ translate - moves by certain coordinates java.lang.string - represents all character strings length - length of string replace - characters of string
toLower/UpperCase - changes all characters to lower/uppercase