CS Awesome - Unit 5 Vocabulary

studied byStudied by 4 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 4 people
... ago
5.0(1)
note Note
studied byStudied by 21 people
... ago
5.0(1)
note Note
studied byStudied by 21 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 31 people
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 674 people
... ago
5.0(4)

Explore top flashcards

flashcards Flashcard (63)
studied byStudied by 22 people
... ago
5.0(1)
flashcards Flashcard (85)
studied byStudied by 14 people
... ago
5.0(1)
flashcards Flashcard (183)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (34)
studied byStudied by 21 people
... ago
5.0(1)
flashcards Flashcard (58)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (58)
studied byStudied by 12 people
... ago
5.0(2)
flashcards Flashcard (76)
studied byStudied by 452 people
... ago
5.0(7)
robot