MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SQL

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which example of the field name below is in camel case?
A
First Name
B
firstName
C
FIRSTNAME
D
firstname
Explanation: 

Detailed explanation-1: -Meaning of camel case in English. the use of a capital letter to begin the second word in a compound name or phrase, when it is not separated from the first word by a space: Examples of camel case include “iPod” and “GaGa".

Detailed explanation-2: -Some examples of CamelCase variable names would be UserName, BirthDate, intUserAge and strUserName. Kebab-case is discouraged in many computer languages due to the dash being interpreted as a mathematical minus sign. In some languages, CamelCase is encouraged in the developer documentation best practice.

Detailed explanation-3: -A part of CamelCase, lowerCamelCase is a naming convention in which a name contains multiple words that are joined together as a single word. In terms of capitalization, the first word is always all lowercase letters, including the first letter.

Detailed explanation-4: -Example, firstName, lastName, actionEvent, printArray( ), etc. The Upper camel case also known as the title case, where the first character of the first word is in uppercase. This convention is usually followed while naming the classes and interfaces. For example, Employee, Printable, etc.

There is 1 question to complete.