Ad Code

✨🎆 Codex 1.0 PLACEMENT READY PROGRAM! 🎆✨

Get 75% Discount Early bird offer CLICK to JOIN CodeX 1.0 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