Writing Classes

3.7(3)
studied byStudied by 110 people
3.7(3)
linked notesView linked note
call with kaiCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/12

Last updated 4:56 PM on 4/7/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

13 Terms

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

Explore top flashcards