Blog Archives
1 3 4 5 6 7 8 9 10 11 28

03: Java GC tuning for low latency applications

This assumes that you have read the basics on Java GC at Java Garbage Collection interview Q&A to ascertain your depth of Java knowledge. This is a must know topic for those who like to work on low latency applications. Q1. In what ways does GC impact latency and throughput...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: JMockit interview Q&As & examples on initialising @Injectable fields

This extends 02: JMockit interview Q&As & examples on Expectations & Verifications. We have already discussed that a non-final instance field annotated as @Tested in the test class will be considered for automatic instantiation and injection, just before the execution of a test method. … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: JUnit & Mockito Interview Questions & Answers

JUnit & Mockito interview questions & answers extends 5 Java unit testing interview Questions and Answers. Unit testing is widely accepted as a “best practice” for your Java code quality. You can also refer to 6 JUnit & JMockit interview questions & … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: Kubernetes (aka k8s) interview Q&As – objects & manifest files

Q01. What is a Kubernetes object? A01. One of the key concepts in Kubernetes is the “desired state,” which refers to the configurations of the applications that you want to deploy and run. A desired state includes things like how many instances of applications should be running, … Read more...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: Kubernetes (i.e. Minikube) – deploy a spring boot microservice app

This extends Kubernetes (i.e. Minikube) – deploy a node js service.

Docker containers & Kubernetes for deploying Spring Boot microservices. As mentioned earlier in Kubernetes, Docker & Microservices interview Questions & Answers.

Docker gives you application isolation, and solves the dependency hell issues.

Read more ›



03: Microservices Architecture design patterns & considerations interview Q&As – Part 2

This extends 02: Microservices Architecture design patterns & considerations interview Q&As – Part 1. 3. Decomposition Design Patterns When decomposing the Microservices, we should avoid having tight coupling between the services. This can be achieved by duplicating the data in the required/dependent services. … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: Mockito interview Q&As & examples on @Mock, Mockito.mock(…) and @MockBean

Unlike a @Spy where you are spying on a real object, when you mock, you are creating a complete mock or fake object. Q: What are the different ways to mock an object? A: There are 3 ways to mock a dependent class that is sed by the class under...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: Mockito to fully mock the DAO layer

This extends Part 1: Unit testing with JUnit, Mockito & Spring by mocking the DAO layer with the Mockito framework. Step 1: Service and DAO layer interfaces and implementations Service Layer

DAO Layer This layer will be mocked by Mockito in the next step. … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: Networking basics interview Q&As on VPN, Proxy Server & Reverse Proxy

This post extends the 01: Networking basics interview Q&As on ip address, subnet mask, DNS & gateway with some of the key networking concepts that we face as software engineers & architects. VPN Q1. What is a VPN? A1. … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: Q16 – Q17 Java Polymorphism vs Overriding vs Overloading

Polymorphism is the ability of a class instance to behave as if it were an instance of another class in its inheritance tree, most often one of its ancestor classes. Overriding is the means by which you achieve polymorphism. Java Polymorphism vs Overriding vs Overloading explained in detail to handle drill down Java OOP interview questions with ease when quizzed further.

Read more ›



03: Scenarios based Java OO concepts & GoF design patterns – Strategy Pattern

The following post improves on the design flaws listed in the previous post entitled 02: Scenarios based Java OO design & GoF design patterns – naive Template Method pattern. Scenario: A company named XYZ Retail is in the business of selling Books, … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: Shell script interview Q&As for Java developers

Q1 How will you go about reading a CSV file as shown below?

A1

Q2 How will you read and then write to another file?

A2

Q3 How will you read the file and then write to another file with CSV data in different order? …...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


03: Spring Boot annotations interview Q&As

Q1. What are the core annotations used in a Spring Boot applications? A1. Annotations are used to configure & customize a Spring boot application. @SpringBootApplication This is a core class level annotation that marks the main class of a Spring Boot application, … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


1 3 4 5 6 7 8 9 10 11 28

300+ Java Interview FAQs

Tutorials on Java & Big Data