What is the difference between pascal casing convention and camel casing convention?
As per Pascal casing starting character of every word must be in upper case . As per camel casing all character in first word must be lowercase and remaining words starting character must be uppercase.
As per pascal casing all words starting characters must be upper case and in camel casing all characters must be in lower case.
Pascal casing rule : Starting character of each word must be in upper case .
Ex: If you want to create a class with the name doctorinfo using pascal casing, it must be written as DoctorInfo ( D must be in uppercase and I must be in upper case ) .
Camel casing rule : Starting character of each word must be in upper case except first word ( all characters in first word must be in lower case )
Ex: If you want to create a variable name doctorinfo using camel casing it must be written as doctorInfo .
Back To Top