Ap CSA FRQ TIPS

0.0(0)
studied byStudied by 41 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/5

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.

6 Terms

1
New cards

instantiating array

type[] variable or type variable[]

2
New cards

creating an array(2 ways)

type[] variable = new type[length]

OR

type[] variable = {insert values}

3
New cards

How to use random

Math.random()(m must be capital)

4
New cards

ArrayList

A class in Java that provides resizable arrays.

5
New cards

how to create a 2D Array

type [][] variable name = new type[length][length];

OR

type[][] variable name = {{}};

6
New cards

how to enhanced for loop for 2d array

int [][] arr = new int[3][4];

for(int [] row: arr)

for(int element: arr)