Skip to main content

Posts

Showing posts with the label coercion in java

Naming Conventions and Indentation in Java

Quality coding Standards Naming Rules a) Declare name for a class in Java      class Book      classs EnglishBook      class Car      class Student      class StudentTranscript b) Variables/function Name      int book      int englisBook      int enonomyOfAmerica      int car      int student      int studentTranscript c) Constants (AllUpper)     final int A=5;     final int SHOAIB=5;     final int ECONOMYOFPAKISTAN=34; ..................................... Indentation in Java Programming   class Test{   } void f (){   }   while (a>b){     }  .....................................  Data Types in Java   1- int (4 bytes)  short (2 byte)  long (8)   ...