Core Java

Core Java - OOP Concepts, Garbage Collection, Multi-threading, Collections Framework, Java 8 Features, Lambda Functions, Streams.

Core Java - OOPS, Inheritance, Garbage Collection, multi-threading & Concurrency, Java Collections framework.

Garbage Collection

  • How does Mark and Sweep Work?

  • What are different Memory generations in java?

  • How will you troubleshoot Memory Issues in a Java application running in production?

Multi-threading and Concurrency in Java

Java Collections Framework

Coding Problems for Core Java

  • Write a simple Java program which will print Fibonacci series

  • Write a Program that calculates Prime Numbers in Java.

  • Write a program to check if a given String is Palindrome

  • Write a Program to check if given number is Armstrong number

Design Problems

  • Implement a Basic Token Bucket Algorithm in Java

  • Design and Implement a File Storage for millions of files. Consider that not more than 1000 files should be placed inside a single directory.

  • Implement a Web Crawler algorithm using Java

  • Design a Vending Machine in Java

  • Concept of Consistent hashing in distributed systems (Apache Cassandra)

  • Using Hashing to distribute the load horizontally

Books and References

  • Head First Design Patterns

  • Head First Object Oriented Design and Analysis

  • Concurrency In Practice by Biran Goetz

  • Effective Java 2nd Edition


Buy my ebook for complete question bank

Most of these questions has been answered in my eBook "Cracking the Core Java Interview" updated on June 2018, that you can buy from this link:

Buy from Shunya (DRM Free PDF download with updates)



Buy DRM Free PDF for Complete Collection of Interview Questions
product image
ebook PDF - Cracking Spring Microservices Interviews for Java Developers

This ebook discusses 120 plus real problems and their solutions for Spring microservices architecture based on Spring Boot, Spring Cloud, Cloud Native Applications. It covers core concepts of microservices architecture, various design patterns, interview questions & answers, security in microservices, testing strategies and best practices in distributed system design.