Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Difference Between
3.6K+ articles
School Programming
1.5K+ articles
java-basics
330+ articles
Java-Library
71+ articles
Java-Constructors
36+ articles
java-inheritance
35+ articles
access modifiers
11+ articles
Java-keyword
20 posts
Recent Articles
Popular Articles
Can String be considered as a Keyword?
Last Updated: 16 January 2024
Is string a keyword?A string is NOT a keyword. It is one of the names of data types declared in the standard library.How to check if a string is a keyword in C++?In C++ th...
read more
Strings
Java-keyword
Picked
DSA
Java Atomic vs Volatile vs Synchronized
Last Updated: 11 January 2025
In Java, multithreading can lead to challenges related to thread safety and data consistency. Java provides concurrency mechanisms like Atomic, Volatile, and Synchronized ...
read more
Java
Difference Between
Java-keyword
Picked
Can We Override Final Method in Java?
Last Updated: 19 January 2021
A method in a subclass is said to Override a method in its superclass if that method has a signature identical to a method in its superclass. When this method is called by...
read more
Java
Technical Scripter
Java-final keyword
Java-keyword
Picked
Technical Scripter 2020
Access Super Class Methods and Instance Variables Without super Keyword in Java
Last Updated: 25 November 2022
A class describes the property and the attributes of the object. A class contains mainly includes the following components.Modifiers: The keywords in java which provide a...
read more
Java
Technical Scripter
Java Programs
Java-keyword
Technical Scripter 2020
Usage of Enum and Switch Keyword in Java
Last Updated: 28 February 2022
An Enum is a unique type of data type in java which is generally a collection (set) of constants. More specifically, a Java Enum type is a unique kind of Java class. An En...
read more
Java
Java-keyword
Usage of Break keyword in Java
Last Updated: 22 March 2023
Break keyword is often used inside loops control structures and switch statements. It is used to terminate loops and switch statements in java. When the break keyword is e...
read more
Java
Java-keyword
super keyword for Method Overloading in Java
Last Updated: 06 January 2022
We use Method overloading to use a similar method for more than one time. This can be achieved by using different parameters in the signature. In the below example a class...
read more
Java
Java-keyword
var keyword in Java
Last Updated: 22 April 2023
The var reserved type name (not a Java keyword) was introduced in Java 10. Type inference is used in var keyword in which it detects automatically the datatype of a variab...
read more
Java
Java-keyword
Using the super Keyword to Call a Base Class Constructor in Java
Last Updated: 05 May 2021
We prefer inheritance to reuse the code available in existing classes. In Java, Inheritance is the concept in which one class inherits the properties of another class. In ...
read more
Java
java-inheritance
Java-Constructors
Java-keyword
Difference between volatile and transient keywords in Java
Last Updated: 16 August 2020
Just like any other programming language, Java has a set of keywords which are reserved and have a special meaning. In this article, we will see the difference between the...
read more
Java
Difference Between
Java-keyword
Protected Keyword in Java with Examples
Last Updated: 08 January 2024
Access modifiers in Java help to restrict the scope of a class, constructor, variable, method, or data member. There are four types of access modifiers available in java. ...
read more
Java
access modifiers
Java-keyword
Java Keywords
Last Updated: 17 April 2025
In Java, keywords are the reserved words that have some predefined meanings and are used by the Java compiler for some internal process or represent some predefined action...
read more
Java
Java-keyword
Java return Keyword
Last Updated: 02 January 2025
return keyword in Java is a reserved keyword which is used to exit from a method, with or without a value. The usage of the return keyword can be categorized into two case...
read more
Java
Java-keyword
Important Keywords in Java
Last Updated: 15 May 2022
Keywords refer to the reserved set of words of a language. These are used for some predefined actions.abstract: It is a non-access modifier applicable for classes and meth...
read more
Java
Java-keyword
static Keyword in Java
Last Updated: 04 January 2025
The static keyword in Java is mainly used for memory management. The static keyword in Java is used to share the same variable or method of a given class. The users can ap...
read more
Java
Java-Library
Java-keyword
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !