Home
Explore
Exams
Search for anything
Login
Get started
Home
Engineering
AP Computer Science A
Unit 5: Writing Classes
Writing Classes
3.7
(3)
Rate it
Studied by 108 people
View linked note
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/12
Earn XP
Description and Tags
Computer Science
AP Computer Science A
Unit 5: Writing Classes
Add tags
Study Analytics
All
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
13 Terms
View all (13)
Star these 13
1
New cards
class
When a group of statements, such as control structures, are all put together to be referred to this
2
New cards
source code
this is the java programming file that hosts the code
3
New cards
method
a block of code that, when called, performs specific actions mentioned in it
4
New cards
driver class
a class in charge of running other classes
5
New cards
object class
the parent classes of all the java classes
6
New cards
header
where you tell Java what value type, if any, the method will return
7
New cards
constructor
a special method used to initalize objects
8
New cards
instance variables(fields)
a variable that is specific to a certain object
9
New cards
return type
the primitive type in which data should return
10
New cards
parameters
the variables listed as a part of the method decleration
11
New cards
precondition
a condition that must be true for your method code to work
12
New cards
postcondition
a condition that is true after the method runs
13
New cards
static
it belongs to the class rather than to a specific instance