Chapter 2 Variable and Operators MCQs

10 min Score: 0 Attempted: 0/10 Subscribe
1. . Where to declare local variables?





2. . Where to declare instance variables?





3. . Where to declare class variables?





4. . Which of following cannot be used as variable name in Java programming language?





5. . Which is the invalid variable name?





6. . A variable name should not begin with:





7. . Which is the valid variable name?





8. . Which are the invalid variable names?





9. . Which are the valid variable names?





10. . What is the default size of Boolean datatype?





Contents Copyrights Reserved By T4Tutorials