HowToDoInJava

  • Python
  • Java
  • Spring Boot
  • Dark Mode

Java keywords

Java keywords are 50 reserved words which have a very specific meaning in the application code. Programmers should not use these keywords for any other purpose than what they are meant to be.

1. Java keywords features

  • Given is the list has all reserved java keywords. We cannot use any of the following as identifiers in our programs.
  • The keywords const and goto are reserved, even though they are not currently used.
  • true, false, and null might seem like keywords, but they are actually literals; we cannot use them as identifiers in our programs.
  • strictfp was added in JDK 1.2.
  • assert was added in JDK 1.4.
  • enum was added in JDK 1.5.

2. Java keywords list

abstractcontinuefornewswitch
assertdefaultgotopackagesynchronized
booleandoifprivatethis
breakdoubleimplementsprotectedthrow
byteelseimportpublicthrows
caseenuminstanceofreturntransient
catchextendsintshorttry
charfinalinterfacestaticvoid
classfinallylongstrictfpvolatile
constfloatnativesuperwhile

Learning about all keywords in single page is not possible. We will learn about each Java keyword in it’s dedicated tutorial.

Happy Learning !!

Was this post helpful?

Let us know if you liked the post. That’s the only way we can improve.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Reddit
Comments are closed on this article!

Search Tutorials

Java Keywords

  • Java Keywords
  • Java abstract
  • Java assert
  • Java boolean
  • Java final, finally, finalize
  • Java this, super
  • Java static
  • Java strictfp
  • Java synchronized
  • Java transient
  • Java yield

Java Tutorial

  • Java Introduction
  • Java Keywords
  • Java Flow Control
  • Java OOP
  • Java Inner Class
  • Java String
  • Java Enum
  • Java Collections
  • Java ArrayList
  • Java HashMap
  • Java Array
  • Java Sort
  • Java Clone
  • Java Date Time
  • Java Concurrency
  • Java Generics
  • Java Serialization
  • Java Input Output
  • Java New I/O
  • Java Exceptions
  • Java Annotations
  • Java Reflection
  • Java Garbage collection
  • Java JDBC
  • Java Security
  • Java Regex
  • Java Servlets
  • Java XML
  • Java Puzzles
  • Java Examples
  • Java Libraries
  • Java Resources
  • Java 14
  • Java 12
  • Java 11
  • Java 10
  • Java 9
  • Java 8
  • Java 7

Meta Links

  • About Me
  • Contact Us
  • Privacy policy
  • Advertise
  • Guest and Sponsored Posts

Recommended Reading

  • 10 Life Lessons
  • Secure Hash Algorithms
  • How Web Servers work?
  • How Java I/O Works Internally?
  • Best Way to Learn Java
  • Java Best Practices Guide
  • Microservices Tutorial
  • REST API Tutorial
  • How to Start New Blog

Copyright © 2020 · HowToDoInjava.com · All Rights Reserved. | Sitemap

  • Java 15 New Features
  • Sealed Classes and Interfaces
  • EdDSA (Ed25519 / Ed448)