Java Fundamentals, Code Blocks & Tokens

PrevNextBack
Test 4
10 questions|25 marks

This test will assess your understanding of Java Fundamentals, Code Blocks & Tokens

Question 1
1 marks

Which is the correct declaration of main method?

Question 2
1 marks

Java is case-sensitive

Question 3
4 marks

Which of the following are valid comments?

Question 4
4 marks

Select the correct statements

Question 5
1 marks

Code Blocks are logically inseparable units of code that can be used at any place where a single statement can

Question 6
5 marks

Select all that is applicable to identifiers

Question 7
5 marks

Which of the following are valid identifiers?

Question 8
1 marks

() {} [] , . ; are all examples of

Question 9
1 marks

Keywords are used to name things like classes, objects, variables, arrays, functions, etc

Question 10
2 marks

Which of the following is not a keyword?