Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Core Java Interview Questions and Answers

Ques 101. What is synchronization and why is it important?

Ans. With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.

Is it helpful? Add Comment View Comments
Ques 102. Is null a keyword?
Ans. The null value is not a keyword.
Is it helpful? Add Comment View Comments
Ques 103. Which characters may be used as the second character of an identifier,but not as the first character of an identifier?
Ans. 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 104. What modifiers may be used with an inner class that is a member of an outer class?
Ans. A (non-local) inner class may be declared as public, protected, private, static, final, or abstract.
Is it helpful? Add Comment View Comments
Ques 105. How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?
Ans. Unicode requires 16 bits and ASCII require 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits. UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bit and larger bit patterns.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook