Writing Classes

studied byStudied by 108 people
3.7(3)
Get a hint
Hint

class

1 / 12

13 Terms

1

class

When a group of statements, such as control structures, are all put together to be referred to this

New cards
2

source code

this is the java programming file that hosts the code

New cards
3

method

a block of code that, when called, performs specific actions mentioned in it

New cards
4

driver class

a class in charge of running other classes

New cards
5

object class

the parent classes of all the java classes

New cards
6

header

where you tell Java what value type, if any, the method will return

New cards
7

constructor

a special method used to initalize objects

New cards
8

instance variables(fields)

a variable that is specific to a certain object

New cards
9

return type

the primitive type in which data should return

New cards
10

parameters

the variables listed as a part of the method decleration

New cards
11

precondition

a condition that must be true for your method code to work

New cards
12

postcondition

a condition that is true after the method runs

New cards
13

static

it belongs to the class rather than to a specific instance

New cards

Explore top notes

note Note
studied byStudied by 21 people
... ago
5.0(2)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 2 people
... ago
5.0(1)
note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 79 people
... ago
5.0(2)
note Note
studied byStudied by 46 people
... ago
5.0(2)
note Note
studied byStudied by 14 people
... ago
5.0(1)
note Note
studied byStudied by 98 people
... ago
4.0(2)

Explore top flashcards

flashcards Flashcard (24)
studied byStudied by 514 people
... ago
4.5(11)
flashcards Flashcard (26)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (89)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (53)
studied byStudied by 93 people
... ago
5.0(4)
flashcards Flashcard (45)
studied byStudied by 7 people
... ago
4.0(1)
flashcards Flashcard (20)
studied byStudied by 18 people
... ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 330 people
... ago
5.0(7)
robot