CORE JAVA Interview Questions You'll Most Likely Be Asked

4.5 of 5 Stars!

Price: $19.95

CORE JAVA Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.
Table of contents
1. Flow Controls and Assertions
2. Wrapper Classes, Garbage Collection, and Exception Handling
3. Threads
4. Object Oriented Programming Concepts
5. Declarations and Access Controls
6. Java Assignments
7. Java Operators
8. Inner Classes and String Handling
9. Streams
10. Collections
HR Questions
a) 290 CORE JAVA Interview Questions, Answers and proven strategies for getting hired as an IT professional
b) Dozens of examples to respond to interview questions
c) 77 HR Questions with Answers and proven strategies to give specific, impressive, answers that help nail the interviews
d) 2 Aptitude Tests download available on
Sample from the book
(Below Questions and Answers are randomly taken from different pages of the book)
27: What does the below line of code represent?
java –ea –da:com.resource...
The above code implies that assertion is enabled during runtime for general cases but assertion is disabled specifically for the package called resource.
86: What happens when a synchronized method is invoked?
Whenever the synchronized method is executed, the thread enters into the monitor or lock mode and until the method gets executed the lock is not released. So, using synchronized method, we allow one thread to access the shared resource when multiple threads are running simultaneously and trying to access a shared resource.
148: What are the modifiers that can be used while declaring a non-local variable?
Following are the modifiers that can be used while declaring a non-local variable:
a) private
b) public
c) protected
d) static
e) final
f) transient
g) volatile
The above modifiers are used to make the variables accessible from a particular class or from different classes.
209: What is an Inner class?
Inner class is a specialized class which allows you to declare one class within another class. In order to write a flexible, reusable, and maintainable code, you have to make the class as specialized.
Just like the ordinary class, inner class also has methods and variables to assign and process data.
282: Will the following line of code compile without error? If not, state the reasons.
List<? super Mammal> mList = new ArrayList<Cat>();
The above line of code will not compile because the class hierarchy of Cat is very low. Since Mammal is declared as a super class, if <Cat> is replaced with <Mammal> or <Object>, then the above line will be considered as legal.
Core Java Interview, IT Interview Questions , Java Interview Questions , Java Flow Controls , Java Assertions ,  Java Wrapper Classes , Java Garbage Collection , Java Exception Handling , Java Threads , Java Object Oriented Programming Concepts ,  Java Declarations , Java Access Controls , Java Assignments , Java Operators , Java Inner Classes , Java Streams , Java Collections , HR Questions.