Filter interviews by
I applied via Walk-in and was interviewed in May 2023. There were 2 interview rounds.
OOPs stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent and manipulate data.
OOPs is based on the concept of classes and objects.
It focuses on encapsulation, inheritance, and polymorphism.
Encapsulation ensures data hiding and abstraction.
Inheritance allows the creation of new classes from existing ones.
Polymorphism enables objects to take on multiple forms.
Example: In Jav...
Multithreading is the concurrent execution of two or more threads to achieve maximum utilization of CPU.
Multithreading allows multiple threads to run concurrently within a single program.
It improves performance by utilizing idle CPU time and executing multiple tasks simultaneously.
Threads can communicate and share resources, but synchronization is required to avoid conflicts.
Examples include running background tasks wh...
Exception handling is a mechanism in Java to handle runtime errors and prevent program crashes.
Exception handling allows programmers to catch and handle errors that occur during program execution.
It involves using try-catch blocks to catch exceptions and provide alternative code to handle the error.
The catch block specifies the type of exception to catch and the code to be executed when that exception occurs.
Java provi...
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
Inner join is used to combine rows from two or more tables based on a related column between them.
Use INNER JOIN keyword in SQL to perform inner join
Specify the columns to join on using ON keyword
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Object-oriented programming concepts in Java
OOPs stands for Object-Oriented Programming
Key concepts include classes, objects, inheritance, polymorphism, encapsulation
Java supports OOPs principles like abstraction, encapsulation, inheritance, and polymorphism
Object-oriented programming concepts in Java
Encapsulation: bundling data and methods that operate on the data into a single unit
Inheritance: allows a class to inherit properties and behavior from another class
Polymorphism: ability of an object to take on many forms
Abstraction: hiding the implementation details and showing only the necessary features of an object
I applied via Walk-in and was interviewed in May 2024. There was 1 interview round.
A for loop is a control flow statement for iterating a specific number of times.
Used to iterate over a range of values or elements in an array
Consists of initialization, condition, and increment/decrement expressions
Example: for(int i=0; i<5; i++) { System.out.println(i); }
Collections in Java are frameworks that provide an architecture to store and manipulate a group of objects.
Collections provide interfaces (List, Set, Map) and classes (ArrayList, LinkedList, HashSet, HashMap) to store and manipulate groups of objects.
Collections framework includes algorithms to manipulate data structures like sorting, searching, etc.
Collections are more flexible and efficient than arrays in Java.
Exampl...
Exception handling in Java is a mechanism to handle runtime errors and prevent program crashes.
Use try-catch blocks to handle exceptions
Use finally block to execute code regardless of exception
Use throw keyword to manually throw exceptions
Use throws keyword in method signature to declare exceptions that can be thrown
HEPL - A Cavinkare Group Company interview questions for designations
For loop syntax is used for iterating over a collection of elements in Java.
Syntax: for(initialization; condition; iteration) { // code block }
Initialization: executed before the loop starts
Condition: evaluated before each iteration, loop continues if true
Iteration: executed after each iteration
Example: for(int i=0; i<10; i++) { System.out.println(i); }
Syntax for declaring an array in Java
Declare the array type followed by square brackets and the array name
Initialize the array using curly braces with values separated by commas
Example: String[] names = {"Alice", "Bob", "Charlie"}
Get interview-ready with Top HEPL - A Cavinkare Group Company Interview Questions
I applied via Walk-in and was interviewed in May 2024. There was 1 interview round.
For loop is used to iterate over a collection of elements in Java.
Syntax: for(initialization; condition; update) { // code block }
Example: for(int i=0; i<10; i++) { System.out.println(i); }
A string in Java is a sequence of characters used to represent text.
Strings are objects in Java, created using the 'String' class.
Strings are immutable, meaning their values cannot be changed once they are created.
Strings can be concatenated using the '+' operator.
Example: String str = "Hello, World!";
Top trending discussions
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I have 2 years of experience working with Docker in various projects.
2 years of experience working with Docker in various projects
Proficient in creating Docker containers, managing images, and orchestrating containers using Docker Compose
Familiar with Docker Swarm and Kubernetes for container orchestration
Experience in troubleshooting Docker-related issues and optimizing container performance
Yes, I have experience in Kubernetes.
I have worked on deploying and managing applications on Kubernetes clusters.
I am familiar with creating and managing Kubernetes resources such as pods, deployments, services, and ingresses.
I have experience in using tools like kubectl and Helm for interacting with Kubernetes clusters.
I have implemented CI/CD pipelines using Kubernetes for automated deployment and scaling of applicat
OOP stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOP focuses on creating objects that contain data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOP.
Examples of OOP languages include Java, C++, and Python.
Polymorphism in Java refers to the ability of a method to do different things based on the object it is acting upon.
Types of polymorphism in Java include method overloading and method overriding.
Method overloading is when multiple methods have the same name but different parameters.
Method overriding is when a subclass provides a specific implementation of a method that is already defined in its superclass.
Threads in Java allow multiple tasks to run concurrently within a single program.
Threads are lightweight sub-processes that share the same memory space.
They are used to improve performance by allowing tasks to run simultaneously.
Examples include creating a new thread using the Thread class or implementing the Runnable interface.
Spring profile is a way to segregate parts of your application configuration and make it only available in certain environments.
Spring profiles allow you to define different configurations for different environments such as development, testing, and production.
You can use @Profile annotation to specify which beans should be loaded based on the active profile.
Profiles can be activated in various ways such as through app...
Annotations used in Spring Security to apply authorization rules before and after a method is called.
Used in Spring Security to define authorization rules
@PreAuthorize is used to apply authorization rules before a method is called
@PostAuthorize is used to apply authorization rules after a method is called
Both annotations support SpEL expressions for defining rules
posted on 10 Dec 2024
Design patterns in Java are reusable solutions to common problems in software design.
Creational patterns (e.g. Singleton, Factory, Builder)
Structural patterns (e.g. Adapter, Decorator, Facade)
Behavioral patterns (e.g. Observer, Strategy, Template Method)
The diamond problem occurs in multiple inheritance when a class inherits from two classes that have a common ancestor, leading to ambiguity in method invocation.
Diamond problem arises in multiple inheritance when a class inherits from two classes that have a common ancestor.
It leads to ambiguity in method invocation as the compiler cannot determine which inherited method to invoke.
Example: Class A has a method 'display...
I applied via Naukri.com and was interviewed in May 2024. There were 3 interview rounds.
Generate all permutations of a given number without duplicates
Use backtracking to generate all possible permutations
Avoid duplicates by keeping track of used digits
Recursively swap digits to generate permutations
A min stack is a stack data structure that supports the usual push and pop operations, along with an additional operation to retrieve the minimum element in constant time.
Create a stack to store the elements and another stack to store the minimum values encountered so far.
When pushing an element, check if it is smaller than the current minimum. If so, push it onto the minimum stack.
When popping an element, check if it ...
1 Interview rounds
based on 1 review
Rating in categories
Executive Accountant
33
salaries
| ₹1.4 L/yr - ₹3 L/yr |
Team Lead
24
salaries
| ₹3.3 L/yr - ₹5.7 L/yr |
Senior Accounts Executive
21
salaries
| ₹2.8 L/yr - ₹3.5 L/yr |
Business Analyst
12
salaries
| ₹1.2 L/yr - ₹5 L/yr |
Junior Developer
10
salaries
| ₹1.8 L/yr - ₹2.8 L/yr |
Dabur
Marico
Himalaya Wellness
Patanjali Ayurved