Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Q.

Which of the following variable declaration would not compile in Java program?

A intVAR;
B intvar1;
C int 1_var;
D All are correct
Answer & Explanation
Option: [C]

It is illegal to declare a variable name by using integer in the start place.

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand