Trusted by students across multiple disciplines!
Assign - Answer: to give a value (Symbol = is the assignment operator)
Block - Answer: code between two matching open and close braces, which is the single
logical unit of work inside the application:
• { some code }
Bytecode - Answer: the instruction set for Java Virtual Machine, created from source
files (code the programmer writes) into bytecode by the compiler
Caller - Answer: is any method that is calling a specific method
Checked exception - Answer: an Exception that is caught at the compilation time,
usually in the block or thrown in the method header
Class - Answer: the core type in Java that defines the implementation of a particular
kind of object; it defines instance and class variables and methods, as well as specifies
the interfaces it implements and the immediate superclass of the class, by default
Object:
• public class Foo {}
Class method - Answer: Can only access class attributes. Class methods can be
accessed through the class name like Math.pow().
A synonym of static class
Class variable - Answer: A variable that belongs to the class, and is not specific to any
particular object, indicated by the word "static", of which only a single copy exists,
regardless of how many instances of the class exist.
1
APPHIA - Crafted with Care and Precision for Academic Excellence.
, A synonym of a static field or a static variable
Classpath - Answer: an environment variable or a command-line argument indicating
the path searched by the Java compiler and the runtime for class definitions
Comment - Answer: a piece of explanatory text ignored by the compiler
Compiler - Answer: a program used to translate source code into the code executed by
a computer
Condition - Answer: a boolean expression controlling a conditional statement or loop
Constructor - Answer: a method inside the class, which creates and initializes objects in
it - needs to be public and names the same as the class:
• public class Foo {
// constructor
Public Foo(){
};
}
Curly brackets - Answer: two matching open and close braces
• { some code }
Declaration - Answer: this is a statement that establishes an identifier and associates
attributes with it, without necessarily reserving its storage or providing the
implementation. We can give it a value later in our code by assigning a value to the
declared variable.
• int name;
2
APPHIA - Crafted with Care and Precision for Academic Excellence.