HowToDoInJava

  • Java 8
  • Regex
  • Concurrency
  • Best Practices
  • Spring Boot
  • JUnit5
  • Interview Questions
  • 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 !!

TwitterFacebookLinkedinRedditPocket

Search Tutorials

Java Tutorial

  • Java – Introduction
  • Java – JDK, JRE and JVM
  • Java – Naming Conventions
  • Java – ClassPath
  • Java – Variables
  • Java – Operators
  • Java – keywords
  • Java – Data Types
  • Java – Primitive Types
  • Java – Wrapper Classes
  • Java – Types of Statements
  • Java – Control Statements
  • Java – Labeled Statements
  • Java – String
  • Java – Create Class
  • Java – Immutable class
  • Java – main() Method
  • Java – Comments
  • Java – Pass-by-Value
  • Java – System Properties
  • Java – Static
  • Java – Static Import
  • Java – hashCode() and equals()
  • Java – this and super
  • Java – 32-bit vs. 64-bit
  • Java – java.exe vs javaw.exe
  • Java – Generate Bytecode
  • Java – Little-Endian vs Big-Endian
  • Java – Command Line Args
  • Java – Compare floats
  • Java – Recursion
  • Java – Pairs
  • Java – Tuples
  • Java – sun.misc.Unsafe
  • Java – UUID

Popular Tutorials

  • Java 8 Tutorial
  • Core Java Tutorial
  • Collections in Java
  • Java Concurrency
  • Spring Boot Tutorial
  • Spring AOP Tutorial
  • Spring MVC Tutorial
  • Spring Security Tutorial
  • Hibernate Tutorial
  • Python Tutorial
  • Jersey Tutorial
  • Maven Tutorial
  • Log4j Tutorial
  • Regex Tutorial

Meta Links

  • Advertise
  • Contact Us
  • Privacy policy
  • About Me

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 © 2016 · HowToDoInjava.com · All Rights Reserved. | Sitemap