Java Final

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/74

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

75 Terms

1
New cards

Character class

class whose instances can hold a single character value. This class also defines methods that can manipulate or inspect single-character data.

2
New cards

String class

a built-in Java class used to work with string data.

3
New cards

StringBuilder class

an efficient built-in Java class for storing and manipulating changeable data composed of multiple characters

4
New cards

StringBuffer class

a thread safe class for storing and manipulating changeable data composed of multiple characters.

5
New cards

anonymous object

ab unnamed object

6
New cards

String variable

a named object of the String class.

7
New cards

immutable

describes objects that cannot be changed

8
New cards

lexicographical comparison

a comparison based on the integer Unicode values of characters.

9
New cards

concatenation

the process of joining a variable to a string to create a longer string

10
New cards

wrapper

a class or object that is “wrapped around” a simpler element

11
New cards

threads of execution

units of processing that are scheduled by an operating system and that can be used to create multiple paths of control during program execution.

12
New cards

buffer

a memory location that holds data temporarily—for example, when creating a StringBuilder object or during input and output operations

13
New cards

capacity

an attribute of an ArrayList whose value is the number of items it can hold without having to increase its size. Also, with a StringBuilder object, the actual length of the buffer, as opposed to that of the string contained in the buffer.

14
New cards

array

a named list of data items that all have the same type

15
New cards

element

one variable or object in an array

16
New cards

subscript/ index

an integer (contained within square brackets in Java) that indicates one of an array’s variables, or elements

17
New cards

out of bounds

describes a subscript that is not within the allowed range for an array

18
New cards

initialization list

a series of values provided for an array when it is declared

19
New cards

populating an array

the act of providing values for all of the elements in an array

20
New cards

enhanced for loop/ foreach loop/ flag

a language construct that cycles through an array without specifying the starting and ending points for the loop control variable

21
New cards

searching an array

the process of comparing a value to a list of values in an array, looking for a match.

22
New cards

parallel array

an array with the same number of elements as another, and for which the values in corresponding elements are related.

23
New cards

range match

the process of comparing a value to the endpoints of numerical ranges to find a category to which the value belongs.

24
New cards

passed by value

describes what happens when a variable is passed to a method and a copy is made in the receiving method

25
New cards

passed by reference

describes what happens when a reference (address) is passed to a method

26
New cards

Unified Modeling Language (UML)

a graphical language used by programmers and analysts to describe classes and object-oriented processes

27
New cards

class diagram

a visual tool that provides an overview of a class. It consists of a rectangle divided into three sections—the top section contains the name of the class, the middle section contains the names and data types of the attributes, and the bottom section contains the methods

28
New cards

base class/ superclass/ parent class

a class that is used as a basis for inheritance

29
New cards

derived class/ subclass/ child class

a class that inherits from a base class

30
New cards

containment

the relationship between classes when one class contains fields that are members of another class. See has-a relationship, composition, and aggregation

31
New cards

aggregation

a type of containment in which a class contains one or more members of another class that would continue to exist without the object that contains them

32
New cards

extends

a keyword used to achieve inheritance in Java

33
New cards

upcast

to change an object to an object of a class higher in its inheritance hierarchy

34
New cards

subtype polymorphism

the ability of one method name to work appropriately for different subclasses of a parent class

35
New cards

override annotation

a directive that notifies the compiler of the programmer’s intention to override a parent class method in a child class

36
New cards

super

a Java keyword that always refers to a class’s immediate superclass

37
New cards

protected access

describes an intermediate level of security between public and private; a class’s protected members can be used by a class and its descendants, but not by outside classes

38
New cards

fragile

describes classes that are prone to errors

39
New cards

virtual method calls

method calls in which the method used is determined when the program runs, because the type of the object used might not be known until the method executes

40
New cards

inlining

an automatic process that optimizes performance by replacing calls to methods with implementations

41
New cards

volatile storage

memory that requires power to retain information

42
New cards

random access memory (RAM)

temporary, volatile storage

43
New cards

nonvolatile storage

storage that does not require power to retain information

44
New cards

computer file

a collection of stored information in a computer system

45
New cards

permanent storage devices

hardware storage devices that retain data even when power is lost

46
New cards

text files

files that contain data that can be read in a text editor because the data has been encoded using a scheme such as ASCII orUnicode

47
New cards

data files

files that consist of related records that contain facts and figures, such as employee numbers, names, and salaries

48
New cards

program/ application files

files that store software instructions

49
New cards

binary files

files that contain data that have not been encoded as text; their contents are in binary format

50
New cards

root directory

the main directory of a storage device, outside any folders

51
New cards

folders / directories

elements in a storage organization hierarchy

52
New cards

path

the complete list of the disk drive plus the hierarchy of directories in which a file resides

53
New cards

path delimiter

the character used to separate path components

54
New cards

factory methods

methods that assist in object creation

55
New cards

absolute path

a complete file path that does not require any other information to locate a file on a system

56
New cards

relative path

a path that depends on other path information to be complete

57
New cards

static import feature

a feature in Java that allows you to use static constants without their class name

58
New cards

TOCTTOU bug

an acronym that describes an error that occurs when changes take place from Time Of Check To Time Of Use

59
New cards

character

any letter, number, or special symbol (such as a punctuation mark) that comprises data

60
New cards

field

a data variable declared in a class outside of any method; in reference to storage, a group of characters that has some meaning

61
New cards

record

a collection of fields that contain data about an entity

62
New cards

sequential access file

a data file that contains records that are accessed one after the other in the order in which they were stored

63
New cards

comma-separated values (CSV)

fields that are separated with a comma

64
New cards

open a file

the action that creates an object and associates a stream of bytes with it

65
New cards

close the file

to make a file no longer available to an application

66
New cards

stream

a pipeline or channel through which bytes flow into and out of an application

67
New cards

flushing

an operation to clear bytes that have been sent to a buffer for output but that have not yet been output to a hardware device

68
New cards

batch processing

processing that involves performing the same tasks with many records, one after the other

69
New cards

real-time

describes applications that require a record to be accessed immediately while a client is waiting

70
New cards

interactive program

a program in which the user makes direct requests

71
New cards

random/ direct/ instant access files

files in which records can be located in any order

72
New cards

file channel

an object that is an avenue for reading and writing a file

73
New cards

seekable

describes a file channel in which operations can start at any specified position

74
New cards

wrapped

to be encompassed in another type

75
New cards

key field

the field in a record that makes the record unique from all others