We will learn in this tutorial about The const keyword in Java programming language
const is a reserved word in Java language because it is not allowed to be used in Java programmer in coding. In Java programming language reserved words cannot be used as object or variables names in a Java program because they’re already used by the syntax of the Java programming language
program 1
This program generates a compile-time error
const means by constant(never can change already assigned value)
const is used in the keyword in C++/keyword in C language. but in java language, const keyword replace by final keyword
There are other Java language keywords that are similar to this keyword
float keyword in Java
Usage of this statement in the Java language
C# inverted full pyramid star pattern In this article, we will discuss the concept of…
C# Full Pyramid star pattern program In this article, we will discuss the concept of…
Program to count vowels, consonants, words, characters and space in Java In this article, we…
How to print multiplication table using Array in C++ language In this post, we will…
C Program to multiplication table using Array In this tutorial , we will discuss about…
Java program to check odd or even using recursion In this tutorial, we discuss a…