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 26. What is your platform's default character encoding?

If you are running Java on English Windows platforms, it is probably Cp1252. If you are running Java on English Solaris platforms, it is most likely 8859_1.

Is it helpful? Add Comment View Comments
 

Ques 27. What is the difference amongst JVM Spec, JVM Implementation, JVM Runtime ?

The JVM spec is the blueprint for the JVM generated and owned by Sun. The JVM implementation is the actual implementation of the spec by a vendor and the JVM runtime is the actual running instance of a JVM implementation

Is it helpful? Add Comment View Comments
 

Ques 28. What is JIT and its use?

Really, just a very fast compiler' In this incarnation, pretty much a one-pass compiler '?? no offline computations. So you can'??t look at the whole method, rank the expressions according to which ones are re-used the most, and then generate code. In theory terms, it'??s an on-line problem.

Is it helpful? Add Comment View Comments
 

Ques 29. Is JVM a compiler or an interpreter?

Interpreter

Is it helpful? Add Comment View Comments
 

Ques 30. What is the purpose of assert keyword used in JDK1.4.x?

In order to validate certain expressions. It effectively replaces the if block and automatically throws the AssertionError on failure. This keyword should be used for the critical arguments. Meaning, without that the method does nothing.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2024 WithoutBook