Skip to main content

Command Palette

Search for a command to run...

Java Terminologies – Complete List

Published
4 min readView as Markdown

1. Basic Terms

TermDescription
JavaHigh-level, object-oriented programming language by Sun Microsystems (now Oracle).
JVMJava Virtual Machine – executes bytecode on any platform.
JREJava Runtime Environment – contains JVM + libraries to run Java programs.
JDKJava Development Kit – contains JRE + compiler + development tools.
BytecodePlatform-independent compiled Java code executed by JVM.
Source CodeHuman-readable code written in .java files.

2. Object-Oriented Concepts

TermDescription
ClassBlueprint for creating objects.
ObjectInstance of a class.
MethodDefines behavior of a class.
ConstructorSpecial method to initialize objects.
Variable / Data MemberStores data; can be instance, static, local, final, volatile, or transient.
InheritanceMechanism to inherit properties & methods from another class.
EncapsulationWrapping data and methods; achieved via access modifiers & getters/setters.
AbstractionHiding implementation details; achieved using abstract classes/interfaces.
PolymorphismAbility to take many forms; includes compile-time (overloading) & runtime (overriding).

3. Data Types & Variables

TermDescription
Primitive Data Typesint, byte, short, long, float, double, char, boolean.
Reference Data TypesObjects, Arrays, Strings, Classes, Interfaces.
Instance VariableBelongs to object; each object has own copy.
Static / Class VariableBelongs to class; shared by all objects.
Local VariableDeclared inside method/block; exists temporarily.
Final VariableConstant; value cannot change.
Transient VariableNot serialized during object serialization.
Volatile VariableChanges visible across threads.
varJava 10+ local variable type inference.

4. Modifiers

TermDescription
Access Modifierspublic, protected, private, default – control visibility.
Non-Access Modifiersstatic, final, abstract, synchronized, native, transient, volatile, strictfp.

5. Methods

TermDescription
Instance MethodBelongs to object; can access instance & static members.
Static MethodBelongs to class; cannot access instance members directly.
Abstract MethodDeclared without body; must be implemented by subclass.
Final MethodCannot be overridden.
Synchronized MethodThread-safe method.
Native MethodImplemented in other language (C/C++).
Default MethodInterface method with body (Java 8+).
Private MethodInterface helper method (Java 9+).
ConstructorSpecial method to initialize objects.

6. Class Types

TermDescription
Concrete ClassFully implemented class.
Abstract ClassPartial implementation; may contain abstract methods.
Final ClassCannot be extended.
Top-level ClassDefined in package, not inside another class.
Nested / Inner ClassDefined inside another class (static or non-static).
Singleton ClassOnly one instance exists.
Immutable ClassObject state cannot change after creation.
POJOPlain Old Java Object (simple class with getters/setters).
Java BeanSerializable POJO with default constructor.
Utility ClassContains only static methods.

7. Interfaces

TermDescription
InterfaceContract with abstract methods; supports multiple inheritance.
Functional InterfaceInterface with exactly one abstract method; Lambda-friendly.
Marker InterfaceEmpty interface used for metadata (Serializable).
Default / Static / Private MethodsMethods inside interface with implementation (Java 8/9+).

8. Packages

TermDescription
PackageCollection of related classes/interfaces.
Built-in PackageProvided by Java SDK (java.lang, java.util).
User-defined PackageCreated by developer.
Default / Unnamed PackageClasses with no package declaration.

9. Miscellaneous

TermDescription
Object CloningCreating a copy of an object using clone().
SerializationConverting object to byte stream for storage/network.
DeserializationReconstructing object from byte stream.
ExceptionRuntime error; handled using try-catch.
GenericsType-safe classes or methods (List<String>).
Lambda ExpressionConcise syntax for functional interfaces (Java 8+).
Stream APIProcess collections using functional style (Java 8+).
EnumFixed set of constants.
AnnotationMetadata to provide information to compiler/runtime.

More from this blog

SS-JAVA

23 posts