Unit 3 - Loops and Classes

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

24 Terms

1
New cards

Source Code

Human-readable text written using the Java programming language.

2
New cards

Compiling

Translation of source code into lower-level code called Bytecode, and checks for errors.

3
New cards

Bytecode

Lower-level code that is sent over the internet and run on the local system.

4
New cards

public static void main method

The entry point in a Java application.

5
New cards

javac

The program that is run when you click the compile button in jGrasp.

6
New cards

Lexical Error

An error message generated when there is a misspelling in the code.

7
New cards

Syntax Error

An error that occurs when breaking the rules of forming valid commands.

8
New cards

Runtime Error

An error that occurs when the program runs and crashes.

9
New cards

Logic Error

An error that occurs when the program runs but does not accomplish the required task.

10
New cards

Debugging

The process of finding errors and correcting them.

11
New cards

Bug

An error in the code.

12
New cards

Data Type

Specifies how different kinds of data are stored and manipulated.

13
New cards

Class

Defines complex types and encapsulates data and methods.

14
New cards

Objects

Instances of classes accessed by references.

15
New cards

Primitive Data Types

Data types like int, double, and boolean that are not accessed by reference.

16
New cards

Constructor Method

A method that creates an object and initializes its private data.

17
New cards

No-Arg Constructor

A constructor that instantiates an object in the default state.

18
New cards

Superclass

Other names include base class and parent class.

19
New cards

Subclass

Other names include derived class and child class.

20
New cards

For Loops

Definite loops that have three parts: initialization, condition, and increment.

21
New cards

While Loops

Indefinite loops that continue until a condition is no longer true.

22
New cards

Void Methods

Methods that take action and change the situation.

23
New cards

Return Methods

Methods that provide information about a robot's situation.

24
New cards

Not Operator

The operator represented by '!', which negates a boolean expression.