1. Explain Deployement Diagram? Used for describing the hardware components where software components are deployed Component diagrams are used to describe the components and deployement diagram shows how they are deployed in hardware Deployement diagrams consist of nodes Nodes are nothing but physical hardwares used to deploy the application Describe the physical components and their…
Blog
Programming Challenge – Find the lookup for subsequence
-->Programming Challenge Description: A subsequence of a given sequence S consists of S with zero or more elements deleted. Formally, a sequence Z = z1z2..zk is a subsequence of X = x1x2…xm, if there exists a strictly increasing sequence of indices (i) of X such that for all j=1,2,…k we have Xi = Zj. E.g.…

How garbage collection works internally in Java?
-->All Java objects are always created on heap in java. What is GC (Garbage collection) process in java? GC (Garbage collection) is the process by which JVM cleans objects(unused objects) from heap to reclaim heap space in java. What is Automatic GarbageCollection in JVM heap memory in java? Automatic garbage collection is the process of Identifying objectswhich are in use in java heap memoryand which objects…

Object Oriented Design Principles in Java
-->DRY (Don’t repeat yourself) – avoids duplication in code Don’t write duplicate code, instead use Abstraction to abstract common things in one place. If you have block of code in more than two place consider making it a separate method, or if you use a hard-coded value more than one time make them public final constant. Benefit…
Spring Transaction Propagation Tutorial
-->While dealing with spring managed transactions the developer is able to specify how the transactions should behave in terms of propagation. In other words the developer has the ability to decide how the business methods should be encapsulated in both logical and physical transactions. Methods from distinct spring beans may be executed in the same transaction scope…
What’s dependency injection in spring?
-->Dependency injection (DI) is a process whereby objects define their dependencies, that is, the other objects they work with, only through constructor arguments, arguments to a factory method, or properties that are set on the object instance after it is constructed or returned from a factory method. The container then injects those dependencies when it…
Top 20 Hibernate Interview Questions – 2019
-->Question 1: What is Hibernate Framework? Object-relational mapping or ORM is the programming technique to map application domain model objects to the relational database tables. Hibernate is java based ORM tool that provides framework for mapping application domain objects to the relational database tables and vice versa. Hibernate provides reference implementation of Java Persistence API,…
Top 25 Spring Interview Questions – 2019
-->Question 1: What is Spring Framework? Spring is one of the most widely used Java EE framework. Spring framework core concepts are “Dependency Injection” and “Aspect Oriented Programming”. Spring framework can be used in normal java applications also to achieve loose coupling between different components by implementing dependency injection and we can perform cross cutting…
Ethereum Interview questions – 2019
-->Question 1: What is the value token for Ethereum? ETH (Ether) Question 2: What is Ether ? Ether is a necessary element — a fuel — for operating the distributed application platform Ethereum. It is a form of payment made by the clients of the platform to the machines executing the requested operations. Question 3:…
Programming Challenge-Chunk the string and reverse
-->Programming Challenge Description: Given a list of numbers and a positive integer k, reverse the elements of the list, k items at a time. If the number of elements is not a multiple of k, then the remaining items in the end should be left as is. Input: Your program should read lines from standard…