AP CSA Unit 2: Lesson 5 - Using Constructors

0.0(0)
Studied by 5 people
0%Exam Mastery
Build your Mastery score
multiple choiceAP Practice
Supplemental Materials
call kaiCall Kai
Locked
Card Sorting

1/9

flashcard set

Earn XP

Last updated 10:02 PM on 9/24/22
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards
packages
acts as a file folder for classes and stores many classes inside of itself
2
New cards
libraries
place to get packages from
3
New cards
constructor
a special method specified in the class which sets up the object as we want it; has the same name as the class
4
New cards
parameter
putting information of the requested types into the paratheses
5
New cards
actual parameters
the values passed into the parameters
6
New cards
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)
7
New cards
overloaded
when all the constructors have the same name
8
New cards
formal parameters
the types and variable names of the parameters
9
New cards
arguments
also called actual parameters
10
New cards
java.lang
example of a package from a library