Computer programming 2 module 8

0.0(0)
studied byStudied 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
Poetic Devices
Updated 395d ago
0.0(0)
note
Chapter 32: Money Creation
Updated 1251d ago
0.0(0)
note
Earthquakes IV: ERT, Waves
Updated 1246d ago
0.0(0)
note
Microbiology
Updated 838d ago
0.0(0)
note
Stress and Coping
Updated 1198d ago
0.0(0)
note
Colons
Updated 1136d ago
0.0(0)
note
Patterns and Change Notes
Updated 76d ago
0.0(0)
note
Poetic Devices
Updated 395d ago
0.0(0)
note
Chapter 32: Money Creation
Updated 1251d ago
0.0(0)
note
Earthquakes IV: ERT, Waves
Updated 1246d ago
0.0(0)
note
Microbiology
Updated 838d ago
0.0(0)
note
Stress and Coping
Updated 1198d ago
0.0(0)
note
Colons
Updated 1136d ago
0.0(0)
note
Patterns and Change Notes
Updated 76d ago
0.0(0)

Explore top flashcards

flashcards
B1 - LESSONS 1, 2, 3
43
Updated 405d ago
0.0(0)
flashcards
apes unit 1
69
Updated 911d ago
0.0(0)
flashcards
Polgov lesson 2
46
Updated 1041d ago
0.0(0)
flashcards
French Term 1 Exam
55
Updated 1084d ago
0.0(0)
flashcards
F6 Unité 1 (copy)
31
Updated 527d ago
0.0(0)
flashcards
L1 Weather & Season C1 Vocab
31
Updated 419d ago
0.0(0)
flashcards
B1 - LESSONS 1, 2, 3
43
Updated 405d ago
0.0(0)
flashcards
apes unit 1
69
Updated 911d ago
0.0(0)
flashcards
Polgov lesson 2
46
Updated 1041d ago
0.0(0)
flashcards
French Term 1 Exam
55
Updated 1084d ago
0.0(0)
flashcards
F6 Unité 1 (copy)
31
Updated 527d ago
0.0(0)
flashcards
L1 Weather & Season C1 Vocab
31
Updated 419d ago
0.0(0)