i
Gif Technologies
Filter interviews by
I applied via LinkedIn and was interviewed before Nov 2023. There was 1 interview round.
A class is a blueprint for creating objects in object-oriented programming.
Classes define the properties and behaviors of objects.
Objects are instances of classes.
Classes can inherit properties and behaviors from other classes.
Example: Class 'Car' may have properties like 'color' and 'model', and behaviors like 'drive' and 'stop'.
An object is a self-contained entity that consists of properties and methods to perform specific tasks.
Objects are instances of classes in object-oriented programming.
They have attributes (properties) and behaviors (methods).
Example: A car object can have properties like color, model, and methods like start(), stop().
Constructor is a special type of method in a class that is automatically called when an object of that class is created.
Constructors have the same name as the class they belong to
They can be used to initialize the object's state or perform any necessary setup
Constructors can be parameterized to accept arguments during object creation
Example: public class Person { public Person(String name) { this.name = name; }}
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain both data and methods to manipulate that data.
The four main principles of OOPs are Inheritance, Encapsulation, Abstraction, and Polymorphism.
Types of OOPs include Class-based and Prototype-based.
Examples of OOPs languages include Java, C++, and Python.
Access modifiers are keywords in programming languages that define the accessibility of classes, methods, and other members.
Types of access modifiers in C# are public, private, protected, internal, protected internal.
Public - accessible from any other class.
Private - accessible only within the same class.
Protected - accessible within the same class or derived classes.
Internal - accessible within the same assembly.
Prote...
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any implementation.
A class can inherit only one abstract class but can implement multiple interfaces.
Abstract class is used to provide a common base for multiple derived classes, while interface is used to define a contract f...
Garbage collection in C# is an automatic memory management process that deallocates memory that is no longer in use.
Garbage collection is a process where the runtime environment automatically deallocates memory that is no longer needed by the program.
It helps in preventing memory leaks and ensures efficient memory usage.
Garbage collection in C# is performed by the Common Language Runtime (CLR) and uses algorithms like ...
Ref and Out parameters are used in C# to pass arguments by reference instead of by value.
Ref parameters are used to pass arguments by reference, allowing the called method to modify the value of the argument.
Out parameters are similar to ref parameters, but they do not require the caller to initialize the parameter before calling the method.
Example: void CalculateArea(ref int length, int width) { length = length * widt...
Delegates are type-safe function pointers in C# that allow methods to be passed as parameters.
Delegates are similar to function pointers in C++.
Delegates can be used to create callback functions.
Delegates are used in event handling in C#.
Delegates can be multicast, meaning they can hold references to multiple methods.
Example: delegate void MyDelegate(string message);
Equality in SQL refers to comparing two values to see if they are the same.
In SQL, equality is determined using the = operator.
It is used in WHERE clauses to filter data based on specific values.
Example: SELECT * FROM table WHERE column_name = 'value';
Delete removes rows one by one and can be rolled back, while Truncate removes all rows at once and cannot be rolled back.
Delete is a DML command while Truncate is a DDL command.
Delete can be rolled back using a transaction, while Truncate cannot be rolled back.
Delete fires triggers on each row deletion, while Truncate does not fire triggers.
Delete is slower as it removes rows one by one, while Truncate is faster as it ...
Clustered index physically reorders the data in the table while non-clustered index creates a separate structure.
Clustered index determines the physical order of data rows in a table.
Non-clustered index creates a separate structure to store the index data.
A table can have only one clustered index but multiple non-clustered indexes.
Clustered index is faster for retrieval but slower for insert and update operations.
Non-c...
Indexes are data structures that improve the speed of data retrieval operations in databases.
Indexes are used to quickly locate data without having to search every row in a database table.
They are created on columns in a database table to speed up the data retrieval process.
Examples of indexes include primary keys, unique keys, and non-unique keys.
Different types of joins are Inner Join, Left Join, Right Join, and Full Join.
Inner Join: Returns rows when there is a match in both tables.
Left Join: Returns all rows from the left table and the matched rows from the right table.
Right Join: Returns all rows from the right table and the matched rows from the left table.
Full Join: Returns rows when there is a match in one of the tables.
Stored Procedure is a precompiled set of SQL statements while Function is a reusable code block that returns a value.
Stored Procedure can perform multiple operations and can return multiple values, while Function returns only one value.
Stored Procedure can have input and output parameters, while Function can only have input parameters.
Stored Procedure can call a Function, but a Function cannot call a Stored Procedure.
S...
Top trending discussions
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
Mettl aptitude reasoning and technical MCQ
I applied via Naukri.com and was interviewed in Mar 2020. There were 5 interview rounds.
JOINS are used in SQL to combine data from two or more tables based on a related column.
Inner JOIN returns only the matching rows from both tables
Equi JOIN is a type of Inner JOIN where the join condition is based on equality between two columns
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Divide array in two halves and keep each half in ascending order without using new Array.
Use Array.sort() method to sort the original array
Use Array.slice() method to divide the array into two halves
Use Array.reverse() method to reverse the second half of the array
Interfaces are contracts that define a set of methods and properties that a class must implement.
Interfaces provide a way to achieve abstraction and polymorphism in object-oriented programming.
They allow for loose coupling between classes and promote code reusability.
Interfaces can be used to define common behavior across multiple classes.
Example: IDisposable interface in C# ensures that an object can be properly dispo...
Inheritance is a mechanism in object-oriented programming where a class is based on another class.
Inheritance allows a subclass to inherit properties and methods from a superclass.
The subclass can also add its own properties and methods.
Examples include a Car class inheriting from a Vehicle class, or a Dog class inheriting from an Animal class.
Aptitude, core concepts and a code
I learned the importance of teamwork and collaboration from my college club.
Developed strong communication skills by working with diverse group of individuals
Learned how to delegate tasks effectively to achieve common goals
Gained experience in problem-solving and conflict resolution through group projects
I want to experience living in a different country and immersing myself in a new culture.
Traveling to a foreign country and learning about their customs and traditions
Trying new foods and experiencing different ways of life
Making friends with locals and exploring the local attractions
Relational DBMS stores data in tables with predefined relationships, while non-relational DBMS stores data in flexible, schema-less formats.
Relational DBMS uses structured query language (SQL) for querying data
Non-relational DBMS can store data in various formats like key-value pairs, document-based, graph databases
Relational DBMS ensures data integrity through normalization and constraints
Non-relational DBMS offers be...
Class is a blueprint for creating objects, abstract class cannot be instantiated and can have abstract methods, interface is a contract for classes to implement certain methods.
Class is a blueprint for creating objects with attributes and methods.
Abstract class cannot be instantiated and can have abstract methods that must be implemented by subclasses.
Interface is a contract for classes to implement certain methods, bu
posted on 11 Dec 2024
I applied via LinkedIn and was interviewed in Nov 2024. There were 3 interview rounds.
Basic DSA from the hacker rank website
Technology advantage or not
All aptitude topics,logical reasoning
Dependency Injection is a design pattern in which components are given their dependencies rather than creating them internally.
Allows for easier testing by providing mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: Constructor injection, Setter injection, Interface injection
In Java, exceptions can be handled using try-catch blocks to catch and handle specific exceptions.
Use try-catch blocks to catch exceptions and handle them gracefully
Use multiple catch blocks to handle different types of exceptions
Use finally block to execute code regardless of whether an exception is thrown or not
Throw custom exceptions using throw keyword
map transforms each element in a stream, while flatMap transforms each element into multiple elements
map applies a function to each element in a stream and returns a new stream of the results
flatMap applies a function that returns a stream for each element in the original stream, then flattens the streams into a single stream
Example: map - stream.map(x -> x * x), flatMap - stream.flatMap(str -> Arrays.stream(str.split(
ConcurrentModificationException occurs when a collection is modified while iterating over it.
Use Iterator to iterate over the collection instead of foreach loop.
If modification is necessary, use Iterator's remove() method instead of collection's remove() method.
Consider using synchronized collections or ConcurrentHashMap to avoid ConcurrentModificationException.
Linked list is a data structure where elements are stored in nodes with pointers to the next node. Array list is a dynamic array that can grow or shrink in size.
Linked list allows for efficient insertion and deletion of elements anywhere in the list.
Array list provides fast access to elements using index, but slower insertion and deletion compared to linked list.
Example: Linked list - 1 -> 2 -> 3 -> 4 -> 5, Array list
The @Controller annotation is used for traditional MVC controllers, while @RestController is used for RESTful web services.
The @Controller annotation is used to define a class as a Spring MVC controller, which can handle HTTP requests and return a view.
The @RestController annotation is used to define a class as a controller for RESTful web services, which can handle HTTP requests and return data in JSON or XML format.
T...
I applied via Approached by Company and was interviewed in May 2024. There were 2 interview rounds.
Software Developer
17
salaries
| ₹2.8 L/yr - ₹7.2 L/yr |
Senior Test Engineer
8
salaries
| ₹4.1 L/yr - ₹5.6 L/yr |
Softwaretest Engineer
6
salaries
| ₹3.2 L/yr - ₹6.8 L/yr |
Executive - Developer
6
salaries
| ₹5.2 L/yr - ₹8 L/yr |
System Engineer
4
salaries
| ₹4.5 L/yr - ₹6 L/yr |
TCS
Infosys
Wipro
HCLTech