1/15
This set of flashcards covers essential vocabulary and concepts related to objects and methods in Java programming, focusing on constructors, parameters, methods, and exceptions.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
Class
A blueprint for creating objects that defines a set of attributes and methods.
Object
An instance of a class that contains actual values.
Constructor
A special method used to initialize objects in a class.
Null Reference
Indicates that a reference variable does not point to any object.
Formal Parameters
The variables defined by a method or constructor that receive values.
Actual Parameters
The actual values passed into the constructor or method when invoked.
Overloaded Constructor
Constructors with the same name but different parameter lists.
Void Method
A method that does not return any value.
Immutable String
A String whose value cannot be changed once created.
Autoboxing
Automatic conversion from a primitive type to its corresponding wrapper class.
Integer.MIN_VALUE
The constant representing the smallest value an integer can have.
Math.pow
A method that raises a base to the power of an exponent.
Math.sqrt
A method that returns the square root of a number.
Exception
An error condition that alters the normal flow of program execution.
String Concatenation
The process of joining two or more strings together.
Random Integer Generation
A method to produce a random integer value within a specified range.