COMMON TERMINOLOGIES IN JAVA – PART - 1
Have you ever talked with a Java developer and found some terms confusing? Let’s clear that
up! Knowing these will help you understand and explain Java better.
JDK (Java Development Kit)
– A toolkit to develop Java apps. Includes JRE, compiler & tools.
JRE (Java Runtime Environment)
– Needed to run Java apps. Contains JVM & core libraries.
JVM (Java Virtual Machine)
– Executes Java bytecode; makes Java platform-independent.
IDE (Integrated Development Environment)
– Software like Eclipse or IntelliJ to write & debug Java code.
Class
– Blueprint for objects; defines variables & methods.
Object
– An instance of a class with data & behavior.
Method
– Block of code performing a specific task.
Argument
– Value passed to a method when called.
Return Type
– Data type of the value a method returns.
Variable
– Named storage that holds data.
Package
– Namespace organizing classes and interfaces.
Source File
– `.java` file containing Java code.
Compiler
– Converts Java code into bytecode (.class files).
Bytecode
– Platform-independent code executed by JVM.
COMMON TERMINOLOGIES IN JAVA – PART- 2
Constructor
– Special method to create objects; has the same name as the class.
Inheritance
– Mechanism where one class acquires properties of another.
Encapsulation
– Wrapping data and methods together; restricts direct access.
Abstract Class
– Class that can’t be instantiated and may contain abstract methods.
Exception Handling
– Mechanism to handle runtime errors using try-catch blocks.
Package Import
– Bringing other classes/packages into current file for use.
Static
– Keyword indicating class-level variable or method.
Java Programming Glossary
Method
– A block of code that performs a task; similar to functions in other languages.
*Variable*
– A container for storing data values.
Polymorphism
– One method behaving differently based on the object or data.
Interface
– A contract for classes; contains method declarations without implementation.
*Exception Handling*
– A way to manage runtime errors using try-catch blocks.
JVM (Java Virtual Machine)
– Executes Java bytecode and enables platform independence.
Java Programming Glossary – Part 2
Abstraction
– Hiding complex logic and showing only essential details to the user.
Static Keyword
– Used to define methods or variables that belong to the class, not instances.
Final Keyword
– Used to make variables constant, methods nu-overridable, and classes un-inheritable.
super Keyword
– Refers to the parent class and is used to access parent methods/constructors.
Overloading
– Defining multiple methods with the same name but different parameters.
Overriding
– Redefining a parent class method in a child class.
Multi-threading
– Running multiple threads (tasks) simultaneously to improve performance.
Garbage Collection
– Automatic memory management by deleting unused objects.
String
– A sequence of characters; immutable in Java.
Array
– A collection of elements of the same type stored in contiguous memory.
Enum
– A special class that defines a group of constants.