English, asked by meghavijay4942, 1 month ago

Which of the following cannot used for the variable name in java ?
a) identifier
b) case
c) malloc
d) calloc

Answers

Answered by wajahatkincsem
2

Case can not be used for the variable name in java.

Option (b) is correct.

Explanation:

  • Java is a programming language in computers.
  • It is a high-level language and is based on a certain type of class.
  • Java is an object-oriented language and it is designed to have various dependencies.
  • It works on Windows, Linux, Mac, and Raspberry.
  • The basic features of this language are used in mobile applications, embedded systems, and data processing systems.

Answered by tushar111chouhan
3

Answer:

Ans: Option b: case

Explanation:

because malloc and calloc are the two predefined functions for Dynamic memory allocation in C language and they are not a keyword in java and identifier is not a keyword in java as well.

But 'case' is a keyword in java used in switch statements.

Similar questions