Prepare Interview

Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Core Java Interview Questions and Answers

Ques 41. Is null a keyword?

The null value is not a keyword.

Is it helpful? Add Comment View Comments
 

Ques 42. Which characters may be used as the second character of an identifier,but not as the first character of an identifier?

The digits 0 through 9 may not be used as the first character of an identifier but they may be used after the first character of an identifier.

Is it helpful? Add Comment View Comments
 

Ques 43. Is 'abc' a primitive value?

The String literal 'abc' is not a primitive value. It is a String object.

Is it helpful? Add Comment View Comments
 

Ques 44. What restrictions are placed on the values of each case of a switch statement?

During compilation, the values of each case of a switch statement must evaluate to a value that can be promoted to an int value.

Is it helpful? Add Comment View Comments
 

Ques 45. What is the difference between a field variable and a local variable?

A field variable is a variable that is declared as a member of a class. A local variable is a variable that is declared local to a method.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2021 WithoutBook