1.

Categorize the following as Upper Camel Case or lower CamelCase and explain.(a) Date Of Birth (b) date Of Joining (c) time Of Joining (d) Place Of Birth

Answer»

a. CamelCase: 

An identifier does not use special characters such as space hence a single word is formed using multiple words. Such a naming method is called CamelCase (without space between words and all the words first character is in upper case letter).

These are two types 

1. Upper Camel Case: when the first character of each word is capitalised, 

2. lower Camel Case: when the first character of each word except the first word is capitalised.

b. Upper Camel Case: Date Of Birth, Place Of Birth

c. lower Camel Case: date Of Joining, time Of Joining



Discussion

No Comment Found