Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Core Java Interview Questions and Answers

Test your skills through the online practice test: Core Java Quiz Online Practice Test

Ques 226. What are order of precedence and associativity, and how are they used?

Order of precedence determines the order in which operators are evaluated in expressions. Associatity determines whether an expression is evaluated left-to-right or right-to-left

Is it helpful? Add Comment View Comments
 

Ques 227. What modifiers can be used with a local inner class?

A local inner class may be final or abstract.

Is it helpful? Add Comment View Comments
 

Ques 228. Why are the methods of the Math class static?

So they can be invoked as if they are a mathematical code library.

Is it helpful? Add Comment View Comments
 

Ques 229. When you think about optimization, what is the best way to findout the time/memory consuming process?

Using profiler

Is it helpful? Add Comment View Comments
 

Ques 230. What is nested class?

If all the methods of a inner class is static then it is a nested class.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2024 WithoutBook