i
DXC Technology
Filter interviews by
JVM memory consists of Young Generation, Old Generation, and Permanent Generation.
Young Generation: where new objects are allocated and aged before moving to Old Generation.
Old Generation: where long-lived objects are stored.
Permanent Generation: where metadata such as class definitions and method information are stored.
Interface is a contract with no implementation, while abstract class can have some implementation.
Interface cannot have any method implementation, while abstract class can have some method implementations.
A class can implement multiple interfaces, but can only extend one abstract class.
Interfaces are used to achieve multiple inheritance in Java.
Abstract classes can have constructors, while interfaces cannot.
Example: In...
Immutable classes in Java are classes whose objects cannot be modified once they are created.
Make the class final to prevent inheritance
Make all fields private and final
Do not provide setter methods for fields
Ensure that any mutable objects within the class are also immutable
Composition is a strong relationship where the child object cannot exist independently of the parent object, while aggregation is a weak relationship where the child object can exist independently.
Composition is a 'has-a' relationship, where the child object is a part of the parent object.
Aggregation is a 'has-a' relationship, where the child object is not a part of the parent object.
In composition, the child object is...
Comparable is an interface used for natural ordering of objects, while Comparator is an interface used for custom ordering of objects.
Comparable interface is implemented by the class whose objects are to be compared, while Comparator interface is implemented by a separate class.
Comparable interface has a single method compareTo() for comparing objects, while Comparator interface has a single method compare() for custom...
HashMap is not thread-safe while ConcurrentHashMap is thread-safe.
HashMap is not thread-safe and can lead to ConcurrentModificationException if modified during iteration.
ConcurrentHashMap allows concurrent read and write operations without the need for external synchronization.
ConcurrentHashMap achieves thread-safety by dividing the map into segments, allowing multiple threads to operate on different segments concurren...
Collections store data while streams process data in a functional way.
Collections are used to store and manage groups of objects, while streams are used to process collections of objects.
Collections are mutable, meaning you can add, remove, or modify elements, while streams are immutable and do not change the original data.
Streams use functional programming concepts like map, filter, and reduce to process data efficien...
Use @Primary to specify a primary bean when multiple beans of the same type are present. Use @Qualifier to specify a specific bean when multiple beans of the same type are present.
Use @Primary to indicate the primary bean to be used when multiple beans of the same type are present in the Spring application context.
Use @Qualifier along with @Autowired to specify a specific bean to be injected when multiple beans of the ...
Top trending discussions
I applied via Company Website and was interviewed in Feb 2021. There was 1 interview round.
I applied via Campus Placement and was interviewed in Sep 2020. There were 3 interview rounds.
I am familiar with a wide range of technologies used in software development.
Java
Python
C++
JavaScript
HTML/CSS
SQL
Git
Linux
RESTful APIs
Agile methodologies
OOPs concepts in Java include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods together in a class.
Inheritance: Creating new classes from existing ones, inheriting their properties and behaviors.
Polymorphism: Objects of different classes can be treated as objects of a common superclass.
Abstraction: Hiding complex implementation details and providing a simplified interfa
Abstraction can be achieved through interfaces, abstract classes, and encapsulation.
Using interfaces to define a set of methods that a class must implement
Using abstract classes to provide a base implementation that can be extended by subclasses
Encapsulating implementation details to hide complexity and provide a simpler interface
Using design patterns such as Factory and Strategy to abstract away implementation details
Class is a blueprint for creating objects while interface defines a contract for implementing classes.
Class is a template for creating objects with properties and methods.
Interface is a contract that defines a set of methods and properties that a class must implement.
Object is an instance of a class that has its own set of properties and methods.
Function instance is a reference to a function that can be called with arg...
Access modifiers control the visibility and accessibility of class members.
Access modifiers include public, private, protected, and internal.
Public members can be accessed from anywhere.
Private members can only be accessed within the same class.
Protected members can be accessed within the same class and its subclasses.
Internal members can be accessed within the same assembly.
Access modifiers help enforce encapsulation ...
Cloud refers to the delivery of computing services over the internet.
Cloud computing allows users to access data and applications from anywhere with an internet connection.
Cloud services can be categorized into three main types: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).
Cloud providers include Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform.
...
There are multiple ways to achieve tasks on AWS depending on the specific task.
Using AWS Management Console
Using AWS CLI
Using AWS SDKs
Using AWS CloudFormation
Using AWS Elastic Beanstalk
Using AWS Lambda
Using AWS Step Functions
Using AWS Batch
I applied via Naukri.com and was interviewed in Dec 2020. There were 3 interview rounds.
SID stands for Security Identifier. It is a unique identifier assigned to a user, group, or computer account in Windows.
SID is used to control access to resources in Windows
It is a string of alphanumeric characters
SID is generated by the Windows operating system during the creation of an account
It is used to identify users, groups, and computers in a network
Example: S-1-5-21-3623811015-3361044348-30300820-1013
I appeared for an interview in Nov 2020.
Round duration - 2 hours
Round difficulty - Medium
In the 1st round
Aptitude
Reasoning
English
Automata fix( code debug)
Timing in morning
Environment is good
Interviewer was very cool and interactive
Given a text message, your task is to return the Run-length Encoding of the given message.
Run-length encoding is a fast and simple method of encoding strings, repres...
Implement a function to encode a text message using run-length encoding.
Iterate through the message and count consecutive characters
Append the character and its count to the encoded message
Handle edge cases like single characters or empty message
Round duration - 30 minutes
Round difficulty - Medium
This is interview round
Ques from basic electronics
C language
Create a class named Person
with a string variable 'name'
and an integer variable 'age'
, such that these variables are not accessible outside the class. Implement a me...
Create a class Person with private variables name and age, and methods to set and get their values.
Create a class Person with private variables 'name' and 'age'.
Implement a method setValue to set the variables' values.
Implement a method getValue to print the variables' values.
Ensure the name is a non-empty string and the age is a non-negative integer.
Encapsulate the data and provide a clear interface for setting and ge
Tip 1 : Do aptitude from indiabix. Go through your basics. At least one language u know. Learn about your branch basics. Know concept of data structure and oops.
Tip 2 : prepare your final project well.
Tip 1 : the skills you know very well mention in resume
Tip 2 : mention project in resume
I applied via Company Website and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Approached by Company and was interviewed before Sep 2021. There were 2 interview rounds.
Technical and output based round
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
I applied via Approached by Company and was interviewed before Jun 2021. There was 1 interview round.
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Associate Professional Software Engineer
2.2k
salaries
| ₹2.6 L/yr - ₹7.8 L/yr |
Software Engineer
2k
salaries
| ₹2.4 L/yr - ₹12.1 L/yr |
Associate Professional
1.4k
salaries
| ₹2 L/yr - ₹7 L/yr |
Associate Software Engineer
1.2k
salaries
| ₹3 L/yr - ₹7.1 L/yr |
Professional 1
1.2k
salaries
| ₹3.2 L/yr - ₹12.9 L/yr |
Cognizant
Capgemini
TCS
Wipro