Filter interviews by
I applied via Approached by Company and was interviewed before Oct 2022. There were 2 interview rounds.
Interface is a blueprint of a class that defines a set of methods without implementation. Used for achieving abstraction and multiple inheritance.
Interfaces are used to define a contract that classes must implement, ensuring consistency and flexibility in code.
Interfaces are commonly used in C# to achieve multiple inheritance, as a class can implement multiple interfaces but inherit from only one class.
Pros of interfac...
SQL procedures are used to perform a set of actions, while functions return a value.
Procedures can perform multiple actions, while functions return a single value
Functions can be used in SQL statements like SELECT, WHERE, etc., while procedures cannot
Functions can be called from within SQL statements, while procedures cannot
Functions must return a value, while procedures do not necessarily have to
SQL injection is a type of cyber attack where malicious SQL code is inserted into input fields to manipulate database queries.
SQL injection occurs when a user input is not properly sanitized and allows attackers to execute malicious SQL statements.
Attackers can use SQL injection to access, modify, or delete data from a database.
Preventing SQL injection involves using parameterized queries, input validation, and escapin...
Stored procedures are precompiled SQL queries stored in the database for reuse and improved performance.
Stored procedures can improve performance by reducing network traffic and optimizing query execution.
They can be used to encapsulate complex business logic in the database.
Stored procedures can enhance security by controlling access to data through parameterized queries.
They promote code reusability and maintainabili...
Memory management in .NET involves automatic memory allocation and garbage collection.
Automatic memory allocation is done using the managed heap in .NET.
Garbage collection is responsible for reclaiming memory that is no longer in use.
Developers can also manually manage memory using techniques like IDisposable and using statements.
Top trending discussions
Asking the dp and tree and other
I applied via campus placement at Anna University and was interviewed in Apr 2024. There were 3 interview rounds.
General topics were given
Curd operation with SQL connectivity
I applied via Job Fair and was interviewed in Jun 2023. There were 3 interview rounds.
Ms office,Core Java , Tally , C,
In my Opinion,view , If you ask me, As far as I can see/I am Concerned , It seems to me that , I think /feel/reckon/ belive , If you want my option , What we have to decide
I applied via campus placement at CDAC, Noida and was interviewed in Jan 2022. There were 4 interview rounds.
Best way to prefer java, core java and most imp spring boot because many of companies required spring boot now a days
Path variable is used to locate executable files while classpath variable is used to locate Java classes.
Path variable is used by the operating system to locate executable files.
Classpath variable is used by Java to locate classes and resources.
Path variable is system-specific while classpath variable is Java-specific.
Path variable is set by the user while classpath variable is set by the developer.
Example of path vari...
Enum is a special data type in Java used to define a set of constants.
Enums are used to represent a fixed number of values that do not change.
They are declared using the enum keyword.
Each enum constant is an object of the enum type.
Enums can have constructors, methods, and fields.
Example: enum Color { RED, GREEN, BLUE }
Enums can also have values associated with them, like Color.RED(255, 0, 0).
2 phase commit is a protocol used to ensure distributed transactions are either committed or rolled back.
Used in distributed systems where multiple databases are involved in a transaction
Ensures all databases either commit or rollback the transaction
Involves a coordinator and multiple participants
Coordinator sends a prepare message to participants, who respond with either commit or abort
If all participants respond with...
Yes, Java is completely object oriented.
Java is designed to be completely object oriented.
All code in Java is written inside classes and objects.
Java supports encapsulation, inheritance, and polymorphism.
Java does have some non-object oriented features like primitive data types.
However, even these can be treated as objects using wrapper classes.
Exception is an event that occurs during the execution of a program and disrupts the normal flow of instructions.
Exceptions are objects that are thrown at runtime when an abnormal condition occurs
Java provides a set of predefined exceptions that can be used to handle errors
Exceptions can be caught and handled using try-catch blocks
Unchecked exceptions are those that are not checked at compile-time, while checked except
I applied via Job Portal and was interviewed in Mar 2022. There were 2 interview rounds.
2 rounds easy
I applied via Campus Placement and was interviewed in Aug 2021. There were 5 interview rounds.
Switch case is used for multiple conditions while if else is for binary conditions. Sorting can be done using various algorithms.
Switch case is faster than if else for multiple conditions
If else is more readable for binary conditions
Sorting can be done using bubble sort, insertion sort, quick sort, etc.
Example code for bubble sort: for(i=0;i
Difference between compiler and interpreter with a coding challenge
Compiler translates the entire code into machine language before execution while interpreter translates line by line during execution
Compiler generates an executable file while interpreter does not
Compiler is faster but debugging is harder while interpreter is slower but debugging is easier
Coding challenge: Write a program to find the sum of two numbers
I applied via Naukri.com and was interviewed in Dec 2020. There were 3 interview rounds.
An object is an instance of a class that encapsulates data and behavior.
Objects have attributes (data) and methods (behavior).
Objects can interact with each other through method calls.
Objects can be created from classes.
Examples of objects include a car, a person, or a bank account.
Multi threading is the ability of a program to perform multiple tasks concurrently.
It allows for better utilization of CPU resources
It can improve program performance and responsiveness
Examples include web servers handling multiple requests simultaneously
It requires careful management of shared resources to avoid race conditions
Yes, we can create multiple objects in programming.
Objects are instances of a class.
We can create multiple objects of the same class.
Each object has its own set of instance variables and methods.
Objects can interact with each other through their methods.
Example: creating multiple instances of a 'Person' class for different people.
Encapsulation types are data, procedural and combination.
Data encapsulation hides data from outside world and provides access through methods.
Procedural encapsulation hides implementation details of a procedure.
Combination encapsulation is a mix of data and procedural encapsulation.
Examples include private variables in a class, access modifiers in Java, etc.
Interview experience
based on 3 reviews
Rating in categories
Software Developer
11
salaries
| ₹5 L/yr - ₹8.1 L/yr |
Accountant
7
salaries
| ₹3 L/yr - ₹4.1 L/yr |
Software Programmer
7
salaries
| ₹4.5 L/yr - ₹6.5 L/yr |
Senior Software Engineer
6
salaries
| ₹5.5 L/yr - ₹11 L/yr |
SQL Developer
5
salaries
| ₹6 L/yr - ₹7.8 L/yr |
TCS
Accenture
Cognizant
Infosys