i
Cactus Communications
Filter interviews by
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance in Java allows a subclass to override a method of its superclass, exhibiting polymorphic behavior.
Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can override inherited methods or add new methods
Example: Class Car can inherit from class Vehicle
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There were 2 interview rounds.
Spring IOC containers are responsible for managing the instantiation of objects and their dependencies in a Spring application.
IOC stands for Inversion of Control, which means that the control of object creation is inverted from the application code to the Spring framework.
There are two main types of Spring IOC containers: BeanFactory and ApplicationContext.
BeanFactory is the simplest container, providing basic support...
Metaspace is a part of the Java HotSpot VM memory where class metadata is stored.
Metaspace replaces the permanent generation (PermGen) in Java 8 and later versions.
It is used to store class metadata such as class names, method names, field names, annotations, etc.
Metaspace is dynamically resized by the JVM based on the application's demand.
You can monitor Metaspace usage using tools like JConsole or VisualVM.
Predicate is a functional interface that represents a boolean-valued function, while Consumer is a functional interface that represents an operation that accepts a single input argument and returns no result.
Predicate is used for filtering elements based on a condition, while Consumer is used for performing actions on elements.
Predicate has a test() method to evaluate a condition, while Consumer has an accept() method ...
Java 8 stream based question
To become a senior Java developer and contribute to innovative projects in a collaborative team environment.
Continue learning new technologies and best practices in Java development
Work on challenging projects to enhance problem-solving skills
Collaborate with team members to share knowledge and improve code quality
I believe my strong Java skills and problem-solving abilities can positively impact the company by improving efficiency and developing innovative solutions.
I have experience in developing efficient and scalable Java applications, which can help streamline processes within the company.
I am skilled in identifying and solving complex technical issues, which can contribute to the overall success of projects.
I am proactive ...
Ev vehicles and its advantages and disadvantages
Different data types represent different types of values that can be stored and manipulated in a programming language.
Some common data types include integers (e.g. 1, 100), floating-point numbers (e.g. 3.14), strings (e.g. 'hello'), booleans (e.g. true, false), arrays, and objects.
Data types can also include more complex types like functions, classes, and custom data structures.
In some programming languages, data types...
Call by value passes a copy of the variable to a function, while call by reference passes the actual variable itself.
Call by value: a copy of the variable is passed to the function, any changes made inside the function do not affect the original variable
Call by reference: the actual variable is passed to the function, any changes made inside the function affect the original variable
Example of call by value: int x = 10;...
posted on 26 Jun 2024
String is immutable in Java to ensure security, thread safety, and optimization.
Immutable strings are thread-safe as they cannot be modified concurrently.
String pooling allows for memory optimization by reusing existing string objects.
Immutable strings prevent malicious code from altering sensitive data.
String immutability simplifies string manipulation and caching implementations.
posted on 27 Dec 2024
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed before Sep 2023. There were 3 interview rounds.
posted on 10 Sep 2024
I applied via Campus Placement
Online coding 5 question easy to hard time given is 2hrs
I applied via Recruitment Consulltant and was interviewed in Sep 2023. There was 1 interview round.
Hibernate is an ORM framework that simplifies database operations in Java applications. It can be integrated with Spring Boot for data persistence.
Hibernate is an Object-Relational Mapping (ORM) framework that maps Java objects to database tables and vice versa.
It simplifies database operations by providing a higher-level abstraction for data persistence.
Spring Boot can be integrated with Hibernate to easily manage dat...
Avg question asked based on dsa.
based on 1 interview
Interview experience
Editor
41
salaries
| ₹3 L/yr - ₹9.6 L/yr |
Project Manager
30
salaries
| ₹5.5 L/yr - ₹18.7 L/yr |
Correspondent/Assistant Editor/Associate Editor
30
salaries
| ₹3.5 L/yr - ₹8 L/yr |
Associate Editor
29
salaries
| ₹3 L/yr - ₹9.9 L/yr |
Assistant Manager
26
salaries
| ₹8 L/yr - ₹16.5 L/yr |
Enago
Crimson Interactive
Wordvice
TridIndia IT Translation Services