
Explore java fundamentals, memory management, arrays, collections, maps, and interview puzzles, with an overview of the interview process and practical tips.
Download eclipse for Java developer and install neon on Windows 10, extract the zip, and launch the Eclipse exe. Create a Hello world Java project to validate the setup.
After taking this lesson you will know why do we need immutable objects, and how they can be created.
Learn why you should use copy constructor
Learn how to duplicate objects in Java with the Cloneable interface and clone method, including shallow versus deep cloning and handling clone not supported exceptions.
Learn to close resources safely by favoring a try finally block over finalize, understand garbage collection timing, and use try with resources as a modern backup for reliable resource cleanup.
After taking this lesson you will know all the basic needed to pass interview question about arrays.
After taking this lesson you will know how Arrays are initialized by default in Java.
After taking this lesson you will now how to overcome array limitation.
Learn how Java varargs lets a single method accept zero or more arguments by automatically creating an internal array, avoiding excessive method overloading while addressing performance considerations.
Learn how to remove duplicates from an int array without collections by sorting then deduplicating, balance memory use and performance, and understand limitations like zero flags and losing original order.
Understand the list interface as an ordered collection with index-based access and duplicates, learn its methods such as add(index, element) and get(index), and review implementations like ArrayList, LinkedList, and Vector.
Explore ArrayList basics: add elements, iterate with for loops and iterators, and observe that insertion order is preserved along with duplicates and nulls.
Explore how ArrayList uses an underlying Object[] to add and remove by index, shifting elements, handling dynamic growth, and answering interview questions about performance and exceptions.
Compare ArrayList and Vector in Java; learn that Vector is synchronized and thread safe, while ArrayList is not. Use Vector for multithreaded access, otherwise prefer ArrayList.
Use an iterator to traverse collections, thanks to hasNext, next, and remove, which lets you modify the underlying collection during iteration and supports generic, fail-fast traversal in multi-threaded contexts.
Learn the fail-fast principle: iterators stop and throw a concurrent modification exception when a list is structurally modified during iteration, as shown with ArrayList and a modification counter.
Compare a regular iterator with a list iterator, covering forward and backward traversal, nextIndex and previousIndex, and the add, set, and remove capabilities during iteration.
Explore java.util.hashmap, its O(1) search, and its role in the java collection framework, and compare hash map, hash table, tree map, and linked hash map for interview prep.
Explore how hash map replaces the value for an existing key, returns the old value, and supports null keys and null values, including size and iteration behavior.
Explore how hash maps resize and rehash, manage capacity and load factor, and the threshold that triggers doubling from 16 to 32; compare size and capacity.
Explore puzzle concepts for a middle level Java interview by practicing algorithm and coding logic questions, reviewing real code solutions, and applying Java API insights.
Master phone interviews with thorough preparation, a quiet, distraction-free setting, note-taking, and company research; expect a company intro and high-level technical questions, plus thoughtful questions for the interviewer.
Discover how technical written tests shape early Java interviews, covering multi-choice questions and paper coding without an IDE. Learn to read questions, pace yourself, and write clear code on paper.
Explore computer interviews at the office with integrated IDEs, Java API lookups, and bug finding, while practicing unit tests and debugging under realistic interview pressure.
In a face to face interview, showcase soft skills and curiosity by researching the company and job specs, and engage in collaborative, problem-solving discussions with the interviewer.
Hello and Welcome!
Scared of coding interview?
This course will practice you with the must know Java interview questions.
In addition it will also prepare you to crack Java puzzle pattern. If you can learn the pattern, you can beat coding interview!
If you want to get your dream job, and you are serious about your career you should take this course.
In this course we will review Java interview questions from different areas:
Lesson structure
The lecture were divided to short lectures of about 5 min each, so you will be able to come back to a specific topic and replay the lesson without the need to search in a specific long video for the part that you would like to repeat on.
Each lesson will include several questions; all of them are from real interviews. We'll go over the questions and answer them.
Quiz
Summarizing each few classes there will be a quiz, designed to repeat the material and help the student understand it even better.