Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

java coding standards for constants

Constants in java are created using static and final keywords.
1) Constants contains only uppercase letters.
2) If constant name is combination of two words it should be separated 
by underscore.
3) Constant names are usually nouns.
Ex:MAX_VALUE, MIN_VALUE, MAX_PRIORITY, MIN_PRIORITY
Comment

PREVIOUS NEXT
Code Example
Java :: java this keyword 
Java :: make pattern for V in jaca 
Java :: TestNG Data Provider 
Java :: java interview question answer 
Java :: exception(string message throwable cause) 
Java :: print java object inherited classes 
Java :: Fomating .json 
Java :: java was started but returned exit code=13 
Java :: int cannot be converted to string error in java 
Java :: ignore sonarlint line java 
Java :: java list to jsonelement 
Java :: similar thing as pair in c++ in java 
Java :: java reverse nodes with single node 
Java :: Detect a face using OpenCV in Java 
Java :: java switch case enum 
Java :: How can I store user inputs in an array of integers? 
Java :: grunt registertask multiple 
Java :: timer tick java 
Java :: autorest generate java client 
Java :: java reverse a array 
Java :: discount computation in java 
Java :: plot vector field in java 
Java :: How do you use both Spring Data JPA and Spring Data Elasticsearch repositories on the same domain class in a Spring Boot application? 
Java :: Read array of characters from space separated values in java 
Java :: Uri/Beecrowd Problem no - 1185 Solution in Java 
Java :: java 8 anymatch two lists 
Java :: darkhub 
Java :: validate data type in request body spring validation 
Java :: Retrieve Image from java database. 
Java :: java dictionary array initialization 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =