What is the difference between Case-Sensitive and Case-Insensitive | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What is the difference between Case-Sensitive and Case-Insensitive

24th Apr 2019, 5:15 PM
Lion
Lion - avatar
1 Resposta
+ 1
Case in/sensitivness is used to refer to a way how programming languages differentiate between keywords, variables, definitions, etc. As the names imply, the main difference is in allowance of upper/lower case characters to refer to some predefined key, respecticely: (Lets suppose we declare two variables named ā€œAdamā€ and ā€œadamā€) Case Sensitive: variable names ā€œAdamā€ and ā€œadamā€ refer to two different variables because they differ in case of the first character and the language parser is SENSITIVE to these differences. Case Insensitive: variable names ā€œAdamā€ and ā€œadamā€ both refer to the same variable which can be accesed by both calls even tho they differ in the case of the first character, we can say that the language parser doesnt take into account upper/lower case changes.
25th Apr 2019, 12:49 AM
RollAnd Schullz
RollAnd Schullz - avatar