Blog Archives
1 7 8 9 10 11 12 13 14 15 28

05: Networking basics interview Q&As on Firewall, Route Tables, Firewall rules, DMZ & NAT

Q1. What is the difference between a firewall & a router? A1. Every firewall is a router, but every router is not a firewall. Routers without firewall capabilities just pass traffic between two separate networks, whilst firewalls monitor the traffic and helps block unauthorised traffic coming from the outside trying...

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


05: Q19-Q24 How to create a well designed Java application?

A software application is built by coupling various classes, modules, and components. Without coupling, you can’t build a software system. But, the software applications are always subject to changes and enhancements. So, you need to build your applications such a way that they can not only adapt to growing requirements,...

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


05: REST Service URI conventions with Spring MVC

The high level pattern for the RESTful URI is http(s)://myserver.com:8080/app-name/{version-no}/{domain}/{rest-reource-convetion} For example: http(s)://myserver.com:8080/accounting-services/1.0/forecasting/accounts to list  … 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


05: Spring 4 MVC RESTful Web Service Beginner Tutorial step by step

Install RESTClient from WizTools.org

Step 1: RESTClient is required to test the RESful web services. Go to

http://download.wiztools.org/rest-client/archive/index.html

Download the latest version of “restclient-ui-3.2.2-jar-with-dependencies.jar” file. Copy it to “c:\tools” and run it by Double-Clicking if you are running on windows.

Read more ›



05: What is wrong with this code? Deep Vs Shallow comparison & multithreading

Q10 What is wring with this code?

A10. date1 == date2 only compares the references and not the actual dates. Since both the references are different objects, they will never be the same, and nothing will be printed. This is also known as the “ … 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


06: Web design patterns MVC2, MVP, MVVM & MVW

Q1. What’s wrong with Servlets? What is a JSP? What is it used for? What do you know about model 0 (aka MVC0), model 1 (aka MVC1) and model 2 (aka MVC2) patterns? In “model 2” architecture, if you set a request attribute in your JSP, … 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


06: Azure interview Q&As on Resource Groups & Resource Manager

Q01. What is an Azure Resource Manager (i.e. ARM)? A01. ARM is the native platform for infrastructure as code (IaC) in Azure. It enables you to centralise the management, deployment, and security of Azure resources. … 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


06: Binary Tree – Sum Levels Java Example

Q. Write code to traverse a tree and return the sum of the values (Node.getValue()) of all nodes at the level N in the binary tree?

A. Let’s have a basic implementation of the above Node interface.

Here is the getLevelSum(root, … 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


06: Binary Tree – Get root to leaf max sum in Java example

Q. Write code to traverse a binary tree and get the largest “root-to-leaf sum”? A “root-to-leaf sum” is a sum of the node values in a root-to-leaf path.

A. Let’s have a basic implementation of the above binary tree Node interface. … 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


06: Change Dir Path – String parsing & working with collections

Q. Complete the method ” public DirPath cd(String newPath)” which applies the following rules: /   : starting with “/” means root directory, else next directory path. ../ : means go up one directory.

Output should be: /a/b/c/x/y/z A. … 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


06: JMockit interview Q&As & examples on Partial Mocking with MockUp

In the last post we looked at partial mocking with Expectations(Object..) and in this post use MockUp to partially mock the constructors, private methods and/or static methods of a class. What is MockUp<T>? In the JMockit toolkit, the Faking API provides support for the creation of fake implementations. … Read...

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


06: Kubernetes (i.e k8s) interview Q&As – Helm charts, Argo CD & Prometheus

Q01. What is a Helm chart in Kubernetes? A01. A Helm chart is a package manager for Kubernetes. A chart is a collection of files that describe a related set of Kubernetes resources. It contains all the necessary resources to deploy an application to a Kubernetes cluster. … 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


06: Microservices Architecture design patterns & considerations interview Q&As – Part 5

This extends 05: Microservices Architecture design patterns & considerations interview Q&As – Part 4. 5. Deployment patterns Microservices enable your development team to roll out software solutions more quickly and better react to customer needs. Microservices deployment patterns or considerations enable easy deployments and allow you to modify microservices. …...

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 7 8 9 10 11 12 13 14 15 28

300+ Java Interview FAQs

Tutorials on Java & Big Data