Ad Code

✨🎆 JOIN MERN, JAVA, PYTHON, AI, DEVOPS, SALESFORCE Courses 🎆✨

Get 100% Placement Oriented Program CLICK to new more info click

Naming convention in java

Java provides four different types of Cases to write the name


1 Lower  Case:-- 

  variable,single word method name,package name,subpackage name

  
2 Proper Case:-  first char will be in caps and remaining will be in small

  Classname,Intefacename


3  Upper Case:-  all char will be in caps

     Constant name

4  Camel Case:-    first word will be in lower case and the second word will be in the proper case

                              void displayHello()
                               {

                               }
                              void displayStudentInfo()
                              {

                              }

..........................................................................................................................................................





  



  



Post a Comment

0 Comments