Chapter 1 key terms Java Programming 10th edition

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

1/88

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:44 AM on 6/10/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

89 Terms

1
New cards

Write once, run anywhere (WORA)

a slogan developed by Sun Microsystems to describe the ability of one Java program version to work correctly on multiple platforms.

2
New cards

windowed applications

programs that create a graphical user interface (GUI) with elements such as menus, toolbars, and dialog boxes.

3
New cards

Whitespace

any combination of nonprinting characters; for example, spaces, tabs, and carriage returns (blank lines).

4
New cards

Void

a keyword that, when used in a method header, indicates that the method does not return any value when it is called.

5
New cards

variable

a named memory location whose contents can be altered during program execution.

6
New cards

upper camel casing

the style of using an uppercase letter to begin an identifier and to start each new word in an identifier. Also called Pascal casing.

7
New cards

Unicode

an international system of character representation.

8
New cards

system software

the set of programs that manage the computer. Contrast with application software.

9
New cards

syntax error

a programming error that occurs when a program contains typing errors or incorrect language use; a program containing syntax errors cannot be translated into an executable program.

10
New cards

syntax

the rules that define how language elements are used together correctly to create usable statements.

11
New cards

String class

a Java class that can be used to hold character strings.

12
New cards

static

a keyword that means a method is accessible and usable even though no objects of the class exist.

13
New cards

state

the values of the attributes of an object.

14
New cards

standard output device

usually the monitor.

15
New cards

source code

programming statements written in a high-level programming language.

16
New cards

software

the general term for computer programs.

17
New cards

semantic errors

the type of errors that occur when a correct word is used in the wrong context in program code.

18
New cards

SDK

a software development kit, or a set of tools useful to programmers; the Java EE Development Kit.

19
New cards

runtime error

an error that occurs when a program compiles successfully but does not execute.

20
New cards

public

a Java keyword that describes how methods can access a field or method.

21
New cards

properties

the characteristics that define an object; an instance variable, field, or attribute of a class.

22
New cards

program statements

similar to English sentences; instructions that carry out the tasks that programs perform.

23
New cards

program comments

nonexecuting statements added to a Java file for documentation.

24
New cards

program

a set of instructions that tells a computer what to do; software. See also computer program.

25
New cards

procedures

sets of operations performed by a computer program.

26
New cards

procedural programming

a style of programming in which sets of operations are executed one after another in sequence. Contrast with object-oriented pro

27
New cards

polymorphism

the feature of languages that allows the same word to be interpreted correctly in different situations based on the context; the act of using the same method name to indicate different implementations.

28
New cards

passing arguments

the act of sending arguments to a method

29
New cards

Pascal casing

the style of using an uppercase letter to begin an identifier and to start each new word in an identifier. Contrast with camel casing. Compare to upper camel casing.

30
New cards

parsing

the process of breaking something into its component parts.

31
New cards

package

a named collection or library of classes. See also library of classes

32
New cards

object-oriented programs

programs that use a style of programming that involves creating classes, creating objects from those classes, and creating applications that use those objects. Contrast with procedural programming.

33
New cards

object

an instance of a class.

34
New cards

method header

the declaration or first line of a method that contains information about how other methods interact with it.

35
New cards

method

a program module that contains a series of statements that carry out a task.

36
New cards

machine language

circuitry-level language; a series of on and off switches. Compare with low-level programming language.

37
New cards

machine code

machine language

38
New cards

low-level programming language

a language that corresponds closely to a computer processor's circuitry. Contrast with high-level programming language. Compare with machine language.

39
New cards

logic error

a programming bug that allows a source program to be translated to an executable program successfully, but that produces incorrect results.

40
New cards

logic

describes the order of program statements that produce correct results.

41
New cards

literal string

a series of characters that appear exactly as entered; in Java, a literal string appears between double quotation marks.

42
New cards

line comments

comments that start with two forward slashes ( // ) and continue to the end of the current line. Line comments can appear on a line by themselves or at the end of a line following executable code. Contrast with block comments.

43
New cards

keywords

the words that are part of a programming language.

44
New cards

K & R style

the indent style in which the opening brace follows the header line; it is named for Kernighan and Ritchie, who wrote the first book on the C programming language. Contrast with Allman style.

45
New cards

JDK

the Java Standard Edition Development Kit.

46
New cards

Javadoc

a documentation generator that creates Application Programming Interface (API) documentation in Hypertext Markup Language (HTML) format from Java source code.

47
New cards

Java Virtual Machine (JVM)

a hypothetical (software-based) computer on which Java runs.

48
New cards

Java interpreter

the program that checks bytecode and communicates with the operating system, executing the bytecode instructions line by line within the Java Virtual Machine.

49
New cards

Java API

the application programming interface, a collection of information about how to use every prewritten Java class.

50
New cards

Java

an object-oriented programming language used both for general-purpose business applications and for interactive, Web-based Internet applications.

51
New cards

interpreter

a program that translates language statements into machine code. An interpreter translates and executes one statement at a time. Contrast with compiler.

52
New cards

instantiation

refers to the process of creating an object, and also describes one tangible object created from a class.

53
New cards

instance

an existing object of a class.

54
New cards

inheritance

a mechanism that enables one class to inherit, or assume, both the behavior and the attributes of another class.

55
New cards

import statement

a Java statement that allows access to a built-in Java class that is contained in a package.

56
New cards

identifier

the name of a program component such as a class, object, or variable.

57
New cards

high-level programming language

a language that uses a vocabulary of reasonable terms, such as read, write, or add, instead of referencing the sequences of on and off switches that perform these tasks. Contrast with low-level programming language.

58
New cards

hardware

the general term for computer equipment.

59
New cards

graphical user interfaces (GUIs)

environments that allow users to interact with a program in a graphical environment.

60
New cards

FAQs

acronym for Frequently Asked Questions.

61
New cards

executing

the act of carrying out a program statement or program.

62
New cards

encapsulation

the act of hiding data and methods within an object

63
New cards

documentation comments

comments that automatically generate well-formatted program documentation.

64
New cards

dialog box

a GUI object resembling a window that displays messages. See also input dialog box and confirm dialog box.

65
New cards

development environment

a set of tools that helps programmers by providing such features as displaying a language's keywords in color.

66
New cards

debugging

the process of locating and repairing a program's errors.

67
New cards

console applications

programs that support character or text output to a computer screen.

68
New cards

computer simulations

programs that attempt to mimic real-world activities so that their processes can be improved or so that users can better understand how the real-world processes operate.

69
New cards

computer program

a set of instructions that tells a computer what to do; software. See also program.

70
New cards

compiler

a program that translates language statements into machine code, translating an entire program before executing it. Contrast with interpreter.

71
New cards

compile-time error

an error for which the compiler detects a violation of language syntax rules and is unable to translate the source code to machine code.

72
New cards

comment out

the technique of turning a program statement into a comment so the compiler will not execute its command.

73
New cards

commands

program statements.

74
New cards

clean build

a compilation that is created after deleting all previously compiled versions of a class.

75
New cards

class header

the first line of a class that contains an access specifier, the keyword class, and the class identifier.

76
New cards

class definition

a description of attributes and methods of objects instantiated from a class.

77
New cards

class body

the set of data items and methods between the curly braces that follow the class header.

78
New cards

class

a group or collection of objects with common properties.

79
New cards

call a procedure

to invoke a method.

80
New cards

bytecode

programming statements that have been compiled into binary format.

81
New cards

bugs

flaws or mistakes in a computer program.

82
New cards

block comments

comments that start with a forward slash and an asterisk ( / ) and end with an asterisk and a forward slash ( / ). Block comments can appear on a line by themselves, on a line before executable code, or on a line after executable code. Block comments also can extend across as many lines as needed. Contrast with line comments.

83
New cards

attributes

the characteristics that define an object as part of a class.

84
New cards

at run time

describes the period of time during which a program executes.

85
New cards

arguments

data items sent to methods in a method call.

86
New cards

architecturally neutral

describes the feature of Java that allows a program to run on any platform.

87
New cards

application software

programs that perform tasks for users. Contrast with system software.

88
New cards

Allman style

the indent style in which curly braces are aligned and each occupies its own line; named for Eric Allman, a programmer who popularized the style. Contrast with K & R style.

89
New cards

access specifier

defines the circumstances under which a class can be accessed; often used interchangeably with access modifier.