Java Interview Guide
$11.99
Minimum price
$11.99
Suggested price

Java Interview Guide

Cracking the technical round

About the Book

This book is to prepare you for the initial technical rounds for any Java Interview. It is guide with concepts from real interview experiences of the author. 

About the Author

Akhilesh Trivedi
Akhilesh Trivedi

The author is from north India, a Software Engineer by profession. Having a decade of experience in working with Java and J2EE Technologies, he has worked for Indian Institute of Technology Madras, and companies like D&B Transunion and BNYMellon. Akhilesh is currently exploring Big Data and Data Science.

Table of Contents

Introduction ...................................................................................................... 1 

Who this book is for? ......................................................................................... 2 

Who this book is NOT for? ................................................................................. 2 

Preparation ............................................................................................................ 7 

Choosing a resume template ............................................................................. 7 

Size of resume .................................................................................................... 7 

Cover Letter ....................................................................................................... 8 

Register to Job Portals ....................................................................................... 8 

Importance of Certification .................................................................................... 8 

The Interview Questions ........................................................................................ 9 

Beginner ............................................................................................................. 9 

Version and features ...................................................................................... 9 

Some features explained ............................................................................. 10 

Java in General ............................................................................................. 34 

OOPs ............................................................................................................. 35 

Java language ............................................................................................... 36 

Moderate ......................................................................................................... 40 

Oops Questions ............................................................................................ 40 

Java language ............................................................................................... 43 

Collections .................................................................................................... 46 

Exception Handling ...................................................................................... 47 

Advanced ......................................................................................................... 50 

Java language ............................................................................................... 50 

Equals and HashCode ................................................................................... 51 

Immutable .................................................................................................... 53 

Classloader ................................................................................................... 56 

Collections .................................................................................................... 57 

Exception Handling ...................................................................................... 72 

Multithreading ............................................................................................. 75 

Design Patterns ............................................................................................ 79 

More questions/concepts ............................................................................ 82 

Servlets ............................................................................................................. 83 

JSP .................................................................................................................... 89 

Struts ................................................................................................................ 92 

EJBs .................................................................................................................. 94 

Spring ............................................................................................................... 95 

Hibernate ....................................................................................................... 100 

Web Services .................................................................................................. 102 

Practice Questions ............................................................................................. 104 

Question 1 ...................................................................................................... 104 

Question 2 ...................................................................................................... 105 

Question 3 ...................................................................................................... 106 

Question 4 ...................................................................................................... 107 

Question 5 ...................................................................................................... 108 

Question 6 ...................................................................................................... 109 

Question 7 ...................................................................................................... 110 

Question 8 ...................................................................................................... 111 

Question 9 ...................................................................................................... 112 

Question 10 .................................................................................................... 113 

Question 11 .................................................................................................... 114 

Question 12 .................................................................................................... 115 

Question 13 .................................................................................................... 116 

Question 14 .................................................................................................... 117 

Question 15 .................................................................................................... 118 

Question 16 .................................................................................................... 119 

Tools, Methodologies and Processes ................................................................. 120 

Questions on soft skills ...................................................................................... 121 

Where to go from here? .................................................................................... 122 

References: ........................................................................................................ 123 

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$10,589,243writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub