0% found this document useful (0 votes)
39 views7 pages

Skip To Content5

Uploaded by

raroy67751
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views7 pages

Skip To Content5

Uploaded by

raroy67751
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

Skip to content

geeksforgeeks
Courses 90% Refund
Tutorials
Java
Practice
Contests

Sign In

Java Arrays
Java Strings
Java OOPs
Java Collection
Java 8 Tutorial
Java Multithreading
Java Exception Handling
Java Programs
Java Project
Java Collections Interview
Java Interview Questions
Java MCQs
Spring
Spring MVC
Spring Boot
Hibernate

Content Improvement Event


Share Your Experiences
Java Tutorial
Overview of Java
Basics of Java
Input/Output in Java
Flow Control in Java
Operators in Java
Strings in Java
Arrays in Java
OOPS in Java
Inheritance in Java
Abstraction in Java
Encapsulation in Java
Polymorphism in Java
Constructors in Java
Methods in Java
Interfaces in Java
Wrapper Classes in Java
Keywords in Java
Java Keywords
Important Keywords in Java
Super Keyword in Java
final Keyword in Java
static Keyword in Java
enum in Java
transient keyword in Java
volatile Keyword in Java
final, finally and finalize in Java
Access Modifiers in Java
Memory Allocation in Java
Classes of Java
Packages in Java
Java Collection Tutorial
Exception Handling in Java
Multithreading in Java
Synchronization in Java
File Handling in Java
Java Regex
Java IO
Java Networking
JDBC - Java Database Connectivity
Java 8 Features - Complete Tutorial
Java Backend DevelopmentCourse
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 methods. It is


used to achieve abstraction. For more, refer to abstract keyword in java
enum: It is used to define enum in Java
instanceof: It is used to know whether the object is an instance of the specified
type (class or subclass or interface).
private: It is an access modifier. Anything declared private cannot be seen outside
of its class.
protected: If you want to allow an element to be seen outside your current package,
but only to classes that subclass your class directly, then declare that element
protected.
public: Anything declared public can be accessed from anywhere. For more on Access
Modifiers, refer to Access Modifiers in Java
static: It is used to create a member(block, method, variable, nested classes) that
can be used by itself, without reference to a specific instance. For more, refer
static keyword in java
strictfp: It is used for restricting floating-point calculations and ensuring the
same result on every platform while performing operations in the floating-point
variable. For more refer strictfp keyword in Java
synchronized: Applicable for blocks methods. It is used to get synchronization in
java. For more, refer to Synchronized in Java
transient: transient is a variables modifier used in serialization. At the time of
serialization, if we don’t want to save the value of a particular variable in a
file, then we use the transient keyword. For more refer transient keyword in Java
volatile: The volatile modifier tells the compiler that the variable modified by
volatile can be changed unexpectedly by other parts of your program. For more,
refer to volatile keyword in java

Three 90 Challenge is back on popular demand! After processing refunds worth INR
1CR+, we are back with the offer if you missed it the first time. Get 90% course
fee refund in 90 days. Avail now!
Want to be a master in Backend Development with Java for building robust and
scalable applications? Enroll in Java Backend and Development Live Course by
GeeksforGeeks to get your hands dirty with Backend Programming. Master the key Java
concepts, server-side programming, database integration, and more through hands-on
experiences and live projects. Are you new to Backend development or want to be a
Java Pro? This course equips you with all you need for building high-performance,
heavy-loaded backend systems in Java. Ready to take your Java Backend skills to the
next level? Enroll now and take your development career to sky highs.

https://media.geeksforgeeks.org/auth/avatar.png
GeeksforGeeks

29
Previous Article
Java Keywords
Next Article
Super Keyword in Java
Read More
Down Arrow
Similar Reads
Difference between volatile and transient keywords in Java
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 keywords volatile and transient. Before getting into the differences,
let us first understand what each of them actually means. Volatile: The Volatile
keyword is used to mark the
3 min read
Java Keywords
In Java, Keywords or Reserved words are the words in a language that are used for
some internal process or represent some predefined actions. These words are
therefore not allowed to use as variable names or objects. If we do we will get a
compile-time error as shown below as follows: Example of Java Programming
Keywords[GFGTABS] Java // Java Progr
5 min read
super and this keywords in Java
In java, super keyword is used to access methods of the parent class while this is
used to access methods of the current class. this keyword is a reserved keyword in
java i.e, we can't use it as an identifier. It is used to refer current class's
instance as well as static members. It can be used in various contexts as given
below: to refer instance
7 min read
Important Points to Know About Java and Swift
Java is a general-purpose, class-based, object-oriented programming language and
computing platform which was first developed by Sun Micro System in the year 1995.
It was developed by James Gosling. It was designed to build web and desktop
applications and have lesser implementation dependencies. It is a computing
platform for application developme
3 min read
Difference Between java.sql.Time, java.sql.Timestamp and java.sql.Date in Java
Across the software projects, we are using java.sql.Time, java.sql.Timestamp and
java.sql.Date in many instances. Whenever the java application interacts with the
database, we should use these instead of java.util.Date. The reason is JDBC i.e.
java database connectivity uses these to identify SQL Date and Timestamp. Here let
us see the differences
7 min read
10 Important Android Studio Shortcuts You Need the Most
Android Studio is the official integrated development environment (IDE) for Android
application development. In this article, some of the most imp shortcuts are
explained in Android, with the help of examples. Some of the most important
Shortcut keys used in Android Studio are: 1. CTRL + E -> Recently opened files
pop-up: The Android Studio has
3 min read
Some Important Terms in Spring Security
Spring Security secures our web application by default and further, we can
customize it as per our needs. So important terminologies in Spring Securit are as
follows: AuthenticationAuthorizationFilter Let us discuss each of them individually
s follows: Terminology 1: Authentication The identity of users is verified for
providing the access to the s
2 min read
Java AWT vs Java Swing vs Java FX
Java's UI frameworks include Java AWT, Java Swing, and JavaFX. This plays a very
important role in creating the user experience of Java applications. These
frameworks provide a range of tools and components for creating graphical user
interfaces (GUIs) that are not only functional but also visually appealing. As a
Java developer, selecting the righ
11 min read
Java.io.ObjectInputStream Class in Java | Set 2
Java.io.ObjectInputStream Class in Java | Set 1 Note : Java codes mentioned in this
article won't run on Online IDE as the file used in the code doesn't exists online.
So, to verify the working of the codes, you can copy them to your System and can
run it over there. More Methods of ObjectInputStream Class : defaultReadObject() :
java.io.ObjectInpu
6 min read
Java.lang.Class class in Java | Set 1
Java provides a class with name Class in java.lang package. Instances of the class
Class represent classes and interfaces in a running Java application. The primitive
Java types (boolean, byte, char, short, int, long, float, and double), and the
keyword void are also represented as Class objects. It has no public constructor.
Class objects are cons
15+ min read
Article Tags :
Java
Java-keyword
Practice Tags :
Java
three90RightbarBannerImg
course-img
215k+ interested Geeks
Master Java Programming - Complete Beginner to Advanced
Explore
course-img
214k+ interested Geeks
JAVA Backend Development - Live
Explore
course-img
30k+ interested Geeks
Manual to Automation Testing: A QA Engineer's Guide
Explore
geeksforgeeks-footer-logo
Corporate & Communications Address:- A-143, 9th Floor, Sovereign Corporate Tower,
Sector- 136, Noida, Uttar Pradesh (201305) | Registered Address:- K 061, Tower K,
Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh,
201305
GFG App on Play Store
GFG App on App Store
Company
About Us
Legal
Careers
In Media
Contact Us
Advertise with us
GFG Corporate Solution
Placement Training Program
Explore
Job-A-Thon Hiring Challenge
Hack-A-Thon
GfG Weekly Contest
Offline Classes (Delhi/NCR)
DSA in JAVA/C++
Master System Design
Master CP
GeeksforGeeks Videos
Geeks Community
Languages
Python
Java
C++
PHP
GoLang
SQL
R Language
Android Tutorial
DSA
Data Structures
Algorithms
DSA for Beginners
Basic DSA Problems
DSA Roadmap
DSA Interview Questions
Competitive Programming
Data Science & ML
Data Science With Python
Data Science For Beginner
Machine Learning Tutorial
ML Maths
Data Visualisation Tutorial
Pandas Tutorial
NumPy Tutorial
NLP Tutorial
Deep Learning Tutorial
Web Technologies
HTML
CSS
JavaScript
TypeScript
ReactJS
NextJS
NodeJs
Bootstrap
Tailwind CSS
Python Tutorial
Python Programming Examples
Django Tutorial
Python Projects
Python Tkinter
Web Scraping
OpenCV Tutorial
Python Interview Question
Computer Science
GATE CS Notes
Operating Systems
Computer Network
Database Management System
Software Engineering
Digital Logic Design
Engineering Maths
DevOps
Git
AWS
Docker
Kubernetes
Azure
GCP
DevOps Roadmap
System Design
High Level Design
Low Level Design
UML Diagrams
Interview Guide
Design Patterns
OOAD
System Design Bootcamp
Interview Questions
School Subjects
Mathematics
Physics
Chemistry
Biology
Social Science
English Grammar
Commerce
Accountancy
Business Studies
Economics
Management
HR Management
Finance
Income Tax
Databases
SQL
MYSQL
PostgreSQL
PL/SQL
MongoDB
Preparation Corner
Company-Wise Recruitment Process
Resume Templates
Aptitude Preparation
Puzzles
Company-Wise Preparation
Companies
Colleges
Competitive Exams
JEE Advanced
UGC NET
UPSC
SSC CGL
SBI PO
SBI Clerk
IBPS PO
IBPS Clerk
More Tutorials
Software Development
Software Testing
Product Management
Project Management
Linux
Excel
All Cheat Sheets
Recent Articles
Free Online Tools
Typing Test
Image Editor
Code Formatters
Code Converters
Currency Converter
Random Number Generator
Random Password Generator
Write & Earn
Write an Article
Improve an Article
Pick Topics to Write
Share your Experiences
Internships
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
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 !
Lightbox

You might also like