Constructors
Best Practices
Encapsulation
Operators and Expressions
Misc
100

the value to assign to the formal parameter

Actual parameter

100

To improve the readability, reusability, or structure of program code without altering its functionality

Refactor

100

An object-oriented programming concept where the instance variables of a class are hidden from other classes and can be accessed only through the methods of the class

Encapsulation

100

A combination of data and operators that evaluates to a single value

Expression

100

Where a variable can be used

Scope


200

The value to be passed to a constructor or method

Formal parameter

200

The line of code we need to include to access the built-in Scanner class for collecting user input

import java.util.Scanner;

200

Gives the value that is currently assigned to an instance variable

Accessor method

200

When two Strings are joined together

concatenation

200

The attributes of an object that are represented by its instance variables

State


300

The first line of the constructor which includes the public keyword, the constructor name, and the values to specify when an object is created

Constructor signature

300

A collection of methods or reusable components of code

Library

300

Instance variables of a class should always be defined using this keyword

private

300

The data that is operated on

Operand

300

Starts with a \ to indicate how to display a String

Escape sequence

400

A constructor that has a specific number of arguments to be passed to assign values to an object's instance variables

Parameterized constructor

400

A software development principle that uses the acronym DRY, which aims to reduce repetition in code

Don't Repeat Yourself

400

Changes the value assigned to an instance variable

Mutator method

400

To cut off data from the end

Truncate

400

A data type that contains a pointer to the memory location of an object

Reference type

500

The keyword used to call the superclass constructor from a subclass

super()

500

The keyword used to refer to the current object and its instance variables when writing a constructor

this

500

A type of keyword used to set the visibility of classes, variables, constructors, and methods

Access modifier

500

Shortcut syntax to perform an operation on both operands and assign the result into the variable on the left

Compound assignment operator

500

Copying the value of the actual parameter to the constructor's formal parameter

Call by value

M
e
n
u