AP CSA Unit 2: Lesson 5 - Using Constructors

studied byStudied by 5 people
0.0(0)
Get a hint
Hint

packages

1 / 9

flashcard set

Earn XP

Description and Tags

10 Terms

1

packages

acts as a file folder for classes and stores many classes inside of itself

New cards
2

libraries

place to get packages from

New cards
3

constructor

a special method specified in the class which sets up the object as we want it; has the same name as the class

New cards
4

parameter

putting information of the requested types into the paratheses

New cards
5

actual parameters

the values passed into the parameters

New cards
6

call by value

the constructor gets a copy of that value not the actual value itself, or a copy of the reference to that value if it is reference data (e.g. a String)

New cards
7

overloaded

when all the constructors have the same name

New cards
8

formal parameters

the types and variable names of the parameters

New cards
9

arguments

also called actual parameters

New cards
10

java.lang

example of a package from a library

New cards

Explore top notes

note Note
studied byStudied by 23 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 41 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 46 people
Updated ... ago
4.0 Stars(1)
note Note
studied byStudied by 91 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 30060 people
Updated ... ago
4.4 Stars(24)

Explore top flashcards

flashcards Flashcard36 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard117 terms
studied byStudied by 66 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard27 terms
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard103 terms
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard47 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard29 terms
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard46 terms
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard40 terms
studied byStudied by 65 people
Updated ... ago
5.0 Stars(1)