i
UST
Filter interviews by
I was interviewed in Mar 2022.
Advanced java, springboot, Hibernate questions
posted on 22 Jan 2022
I applied via Naukri.com and was interviewed in Dec 2021. There were 3 interview rounds.
There are two types of exceptions: checked and unchecked.
Checked exceptions are checked at compile-time and must be handled by the programmer.
Unchecked exceptions are not checked at compile-time and can be handled by the JVM.
Examples of checked exceptions include IOException and SQLException.
Examples of unchecked exceptions include NullPointerException and ArrayIndexOutOfBoundsException.
I will use try-catch blocks to handle exceptions and log the error message for debugging purposes.
Enclose the procedure call in a try block.
Catch the exception in the catch block.
Log the error message for debugging purposes.
Handle the exception appropriately based on the specific scenario.
posted on 28 Sep 2022
I applied via Naukri.com and was interviewed before Sep 2021. There were 3 interview rounds.
COND parameter is used in JCL to specify a condition for executing a job step.
COND parameter is used in IF/THEN/ELSE statements to determine the execution of a job step.
It can be used to check the return code of a previous step or a specific condition.
COND parameter can have values like ONLY, EVEN, ONLY EVEN, etc.
It can also be used with the NOT operator to negate the condition.
COND parameter can be used with job steps
COND parameter is used in JCL to skip few steps
COND parameter is used in JCL to specify a condition that must be met before executing a step
If the condition is not met, the step is skipped
The syntax for using COND parameter is: COND=(code,operator,stepname)
For example, COND=(0,NE,STEP1) will skip the step if the return code of the previous step is not 0
DISTINCT is a keyword in DB2 used to retrieve unique values from a column or set of columns.
DISTINCT is used in SELECT statements to eliminate duplicate rows.
It can be used with one or more columns.
It is often used in conjunction with aggregate functions like COUNT, SUM, AVG, etc.
Example: SELECT DISTINCT column1, column2 FROM table_name;
Example: SELECT COUNT(DISTINCT column_name) FROM table_name;
The function used to remove duplicates is called 'distinct'.
Distinct is used in SQL to remove duplicate rows from a result set.
In Python, the set() function can be used to remove duplicates from a list.
The unique() function in R can be used to remove duplicates from a vector.
I was interviewed in Apr 2021.
Round duration - 60 Minutes
Round difficulty - Medium
This round started slow with some basic fundamental questions around OOPS and then paced up higher to some more advanced questions around Java 8 and Java in general.
The SOLID principle is an acronym of the five principles which is given below :
1) Single Responsibility Principle (SRP)
2) Open/Closed Principle
3) Liskov’s Substitution Principle (LSP)
4) Interface Segregation Principle (ISP)
5) Dependency Inversion Principle (DIP)
Uses of SOLID design principles :
1) The SOLID principle helps in reducing tight coupling.
2) Tight coupling means a group of classes are highly dependent on one ...
If you are a user, and you have a problem statement, you don't want to know how the components of the software work, or how it's made. You only want to know how the software solves your problem. Abstraction is the method of hiding unnecessary details from the necessary ones. It is one of the main features of OOPs.
For example, consider a car. You only need to know how to run a car, and not how the wires are connec...
Interface and abstract class both are special types of classes that contain only the methods declaration and not their implementation. But the interface is entirely different from an abstract class. The main difference between the two is that, when an interface is implemented, the subclass must define all its methods and provide its implementation. Whereas when an abstract class is inherited, the subclass does not need...
Classloader is a subsystem of JVM which is used to load class files. Whenever we run the java program, it is loaded
first by the classloader. There are three built-in classloaders in Java.
1) Bootstrap ClassLoader: This is the first classloader which is the superclass of Extension classloader. It loads the
rt.jar file which contains all class files of Java Standard Edition like java.lang package classes, java.net package
c...
String objects in Java are immutable by definition. This signifies that the String object's state cannot be changed once
it has been created. As a result, if you try to update the value of that object rather than the values of that object, Java
creates a new string object.
Because String objects are often cached in the String pool, Java String objects are immutable. Because String literals
are frequently shared among numer...
JVM is platform dependent because it takes java byte code and generates byte code for the current operating
system. So Java software is platform dependent but Java language is platform independent because different
operating system have different JVMs.
Some of the famous pre-defined functional interfaces from previous Java versions are Runnable, Callable,
Comparator, and Comparable. While Java 8 introduces functional interfaces like Supplier, Consumer, Predicate, etc.
Please refer to the java.util.function doc for other predefined functional interfaces and its description introduced in
Java 8.
Runnable : use to execute the instances of a class over another thread with no...
It encapsulates optional values, i.e., null or not-null values, which helps in avoiding null checks, which results in
better, readable, and robust code. It acts as a wrapper around the object and returns an object instead of a value,
which can be used to avoid run-time NullPointerExceptions.
Round duration - 60 Minutes
Round difficulty - Medium
This round had questions from Microservices , Spring Boot and Hibernate. The interviewer was quite freindly and also helped
wherever I was stuck.
The Spring Framework supports five scopes. They are :
1) Singleton : This provides scope for the bean definition to single instance per Spring IoC container.
2) Prototype : This provides scope for a single bean definition to have any number of object instances.
3) Request : This provides scope for a bean definition to an HTTP-request.
4) Session : This provides scope for a bean definition to an HTTP-session.
5) Global-sessi...
The Spring container is able to autowire relationships between the collaborating beans. That is, it is possible to let
Spring resolve collaborators for your bean automatically by inspecting the contents of the BeanFactory.
Different modes of bean auto-wiring are:
1) no : This is default setting which means no autowiring. Explicit bean reference should be used for wiring.
2) byName : It injects the object dependency accordi...
It is a combination of @Controller and @ResponseBody, used for creating a restful controller. It converts the
response to JSON or XML. It ensures that data returned by each method will be written straight into the response
body instead of returning a template.
The @SpringBootApplication annotation is equivalent to using @Configuration, @EnableAutoConfiguration,
and @ComponentScan with their default attributes. Spring Boot enables the developer to use a single annotation
instead of using multiple. But, as we know, Spring provided loosely coupled features that we can use for each
annotation as per our project needs.
setMaxResults() the function works similar to LIMIT in SQL. Here, we set the maximum number of rows that we want
to be returned. This method is implemented by all database drivers.
setFetchSize() works for optimizing how Hibernate sends the result to the caller for example: are the results buffered,
are they sent in different size chunks, etc. This method is not implemented by all the database drivers.
Concurrency strategies are the mediators responsible for storing and retrieving items from the cache. While enabling
second-level cache, it is the responsibility of the developer to provide what strategy is to be implemented to decide for
each persistent class and collection.
Following are the concurrency strategies that are used:
1) Transactional: This is used in cases of updating data that most likely causes stale data a...
Microservice architectures consist of the following components :
1) Clients: Different users send requests from various devices.
2) Identity Provider: Validate a user's or client's identity and issue security tokens.
3) API Gateway: Handles the requests from clients.
4) Static Content: Contains all of the system's content.
5) Management: Services are balanced on nodes and failures are identified.
6) Service Discovery: A guid...
The following problems can be solved with spring cloud :
1) Complicated issues caused by distributed systems: This includes network issues, latency problems, bandwidth problems, and security issues.
2) Service Discovery issues: Service discovery allows processes and services to communicate and locate each other within a cluster.
3) Redundancy issues: Distributed systems can often have redundancy issues.&...
Round duration - 30 Minutes
Round difficulty - Easy
This was a Technical Cum HR round where I was first asked some basic Java related concepts and then we discussed
about my expectations from the company , learnings and growth in the forthcomig years. I would suggest be honest and
try to communicate your thoughts properly in these type of rounds to maximise your chances of getting selected.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 17 Oct 2023
I applied via Approached by Company and was interviewed in Sep 2021. There were 2 interview rounds.
posted on 11 Jun 2023
I applied via Campus Placement and was interviewed before Jun 2022. There were 4 interview rounds.
Formulas related to ece
Arrays,oops,reverse program
posted on 12 Aug 2021
based on 1 review
Rating in categories
Software Developer
2k
salaries
| ₹2.5 L/yr - ₹12.4 L/yr |
Senior Software Engineer
1.7k
salaries
| ₹6.5 L/yr - ₹26 L/yr |
Software Engineer
1.3k
salaries
| ₹3.6 L/yr - ₹14.7 L/yr |
System Analyst
1.2k
salaries
| ₹6.5 L/yr - ₹22.6 L/yr |
Senior Software Developer
1.1k
salaries
| ₹5.5 L/yr - ₹20 L/yr |
TCS
Infosys
Wipro
HCLTech