i
MindGate Solutions
Filter interviews by
Java MCQ questions and code snippet
Oops concept in Java program refers to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation hides the internal state of an object and only exposes necessary methods to interact with it.
Polymorphism allows objects of different classes to be treated as objects of a common supercl...
I applied via Naukri.com and was interviewed in Oct 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Aug 2020. There was 1 interview round.
The 4 pillars of OOP are Abstraction, Encapsulation, Inheritance, and Polymorphism.
Abstraction: Hiding implementation details and showing only necessary information. Example: A car dashboard only shows necessary information like speed, fuel level, etc.
Encapsulation: Binding data and methods that manipulate the data together. Example: A bank account class with methods to deposit, withdraw, and check balance.
Inheritance:...
Arrays are fixed in size and can store elements of the same type, while collections are dynamic and can store elements of different types.
Arrays have a fixed length, while collections can grow or shrink dynamically.
Arrays can only store elements of the same type, while collections can store elements of different types.
Arrays use indexed access for retrieval and modification, while collections provide various methods fo...
Collection is a group of objects while Map is a key-value pair data structure.
Collection is used to store and manipulate a group of objects.
Map is used to store and retrieve data based on key-value pairs.
Collection classes include List, Set, and Queue.
Map classes include HashMap, TreeMap, and LinkedHashMap.
Collections allow duplicate elements while Maps do not.
Example: Collection - List of names, Map - Student ID and c
JDBC steps to connect to a database
Load the JDBC driver class
Establish a connection to the database using the DriverManager class
Create a statement object to execute SQL queries
Execute the SQL queries and retrieve the results
Close the statement and connection objects
Multi threading is the concurrent execution of multiple threads in a single program.
Allows multiple tasks to run concurrently
Improves performance and responsiveness
Enables efficient utilization of CPU resources
Can be used for parallel processing
Examples: running multiple calculations simultaneously, handling multiple client requests
The life cycle of a thread refers to its various states and transitions during its execution.
A thread starts in the new state when it is created.
It moves to the runnable state when it is ready to run but waiting for the CPU.
When the CPU starts executing the thread, it enters the running state.
A thread can temporarily move to the blocked or waiting state when it is waiting for a resource or signal.
A thread can be termin...
String is immutable because its value cannot be changed once it is created.
String objects are stored in the String pool, which is a part of the heap memory.
When a string is modified, a new string object is created with the modified value.
Immutable strings are thread-safe and can be safely shared among multiple threads.
String immutability allows for efficient memory utilization and optimization.
Top trending discussions
I have the skills, experience, and passion to excel in this role.
I have a strong background in software development, with experience in multiple programming languages and frameworks.
I am a quick learner and enjoy tackling new challenges.
I am a team player and enjoy collaborating with others to achieve common goals.
I am passionate about software engineering and am always looking for ways to improve my skills and knowled...
I chose your company because of its reputation for innovation and its commitment to employee growth.
Your company has a strong reputation for innovation in the industry.
I was impressed by the emphasis on employee growth and development.
I believe that your company's values align with my own personal values.
I was excited about the opportunity to work with a talented team of engineers.
Your company's mission and vision reso
I applied via Recruitment Consultant and was interviewed before Sep 2018. There were 4 interview rounds.
I am a software engineer with experience in developing and maintaining software applications.
I have a strong background in programming languages such as Java, C++, and Python.
I have worked on various projects, including developing web applications and implementing software solutions.
I am skilled in problem-solving and debugging, ensuring efficient and effective software development.
I have experience in collaborating wi...
I learned valuable teamwork and problem-solving skills during my summer internship.
Developed strong collaboration skills by working with a team of software engineers to complete projects
Gained experience in troubleshooting and debugging software issues
Learned to effectively communicate and present technical concepts to both technical and non-technical stakeholders
Improved problem-solving abilities by identifying and re...
based on 1 interview
Interview experience
Software Developer
351
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Analyst
184
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Developer
153
salaries
| ₹0 L/yr - ₹0 L/yr |
Java Developer
92
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
77
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech