CS Awesome - Unit 5 Vocabulary

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

Class

1 / 12

flashcard set

Earn XP

Description and Tags

Writing Classes

13 Terms

1

Class

A class defines a type and is used to define what all objects of that class know and can do.

New cards
2

Compiler

Software that translates the Java source code (ends in .java) into the Java class file (ends in .class).

New cards
3

Compile time error

An error that is found during the compilation. These are also called syntax errors.

New cards
4

Constructor

Used to initialize fields in a newly created object.

New cards
5

Field

A field holds data or a property - what an object knows or keeps track of.

New cards
6

Java

A programming language that you can use to tell a computer what to do.

New cards
7

Main Method

Where execution starts in a Java program.

New cards
8

Method

Defines behavior - what an object can do.

New cards
9

Object

Objects do the actual work in an object-oriented program.

New cards
10

Syntax Error

A syntax error is an error in the specification of the program.

New cards
11

class

used to define a new class

New cards
12

public

a visibility keyword which is used to control the classes that have access. The keyword public means the code in any class has direct access.

New cards
13

private

a visibility keyword which is used to control the classes that have access. The keyword private means that only the code in the current class has direct access.

New cards

Explore top notes

note Note
studied byStudied by 22 people
... ago
4.0(1)
note Note
studied byStudied by 4 people
... ago
5.0(1)
note Note
studied byStudied by 17 people
... ago
5.0(1)
note Note
studied byStudied by 18 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
4.0(1)
note Note
studied byStudied by 14 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 122492 people
... ago
4.8(560)

Explore top flashcards

flashcards Flashcard (23)
studied byStudied by 12 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 34 people
... ago
5.0(3)
flashcards Flashcard (25)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (84)
studied byStudied by 44 people
... ago
5.0(1)
flashcards Flashcard (61)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (78)
studied byStudied by 18 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 41 people
... ago
5.0(2)
robot