Computer programming 2 module 8

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

1/13

Last updated 6:40 AM on 4/23/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

14 Terms

1
New cards

It is an object which contains elements

of a similar data type.

Java array or Array

2
New cards

What is array in Java based on?

Index-based

3
New cards

In Java, _______ is an object of a dynamically generated class.

Array

4
New cards

Array has a ______ size of elements.

Fixed

5
New cards

In array, we can get any data located at an _______ position.

Index

6
New cards

How do you declare an array variable?

By inserting a pair of square brackets after the type.

7
New cards

What keyword do you use to reserve memory locations for the array elements?

New

8
New cards

It is an integer contained within the square brackets that indicates one of an array’s variables or elements.

Subscript

9
New cards

An array’s elements are numbered beginning with ______.

Zero(0)

10
New cards

Array names actually represent computer memory addresses called __________.

References

11
New cards

A variable with a reference type, such as an array, holds a _________ where a value is stored.

Memory address

12
New cards

Boolean array elements are automatically assigned the value ______.

False

13
New cards

What happens when you define an array using new.

The array name takes on a memory address value.

14
New cards

To initialize an array, you can use a list of values that are separated by _______ and enclosed within curly brackets.

Commas

Explore top notes

note
Ap World Unit 2
Updated 1249d ago
0.0(0)
note
Story Board Notes
Updated 1148d ago
0.0(0)
note
Heimler APUSH TP 5.7
Updated 461d ago
0.0(0)
note
3.3 US Presidency
Updated 1101d ago
0.0(0)
note
Reproductive Systems
Updated 1245d ago
0.0(0)
note
Ap World Unit 2
Updated 1249d ago
0.0(0)
note
Story Board Notes
Updated 1148d ago
0.0(0)
note
Heimler APUSH TP 5.7
Updated 461d ago
0.0(0)
note
3.3 US Presidency
Updated 1101d ago
0.0(0)
note
Reproductive Systems
Updated 1245d ago
0.0(0)

Explore top flashcards

flashcards
師說
55
Updated 294d ago
0.0(0)
flashcards
WH2 Quiz 1
68
Updated 1118d ago
0.0(0)
flashcards
Harrison History Chapter 2
76
Updated 560d ago
0.0(0)
flashcards
z subjunctive or indicative list
30
Updated 1103d ago
0.0(0)
flashcards
Gen psych exam 1 fall 2024
93
Updated 544d ago
0.0(0)
flashcards
SS chapters 10 & 11 vocab
29
Updated 29d ago
0.0(0)
flashcards
nse 9
33
Updated 872d ago
0.0(0)
flashcards
師說
55
Updated 294d ago
0.0(0)
flashcards
WH2 Quiz 1
68
Updated 1118d ago
0.0(0)
flashcards
Harrison History Chapter 2
76
Updated 560d ago
0.0(0)
flashcards
z subjunctive or indicative list
30
Updated 1103d ago
0.0(0)
flashcards
Gen psych exam 1 fall 2024
93
Updated 544d ago
0.0(0)
flashcards
SS chapters 10 & 11 vocab
29
Updated 29d ago
0.0(0)
flashcards
nse 9
33
Updated 872d ago
0.0(0)