i
Surge Technology Solutions
Filter interviews by
I applied via Approached by Company and was interviewed before Sep 2021. There was 1 interview round.
Java is mostly OOPs based, but has some non-OOPs features for backward compatibility and performance.
Java has primitive data types like int, float, etc. which are not objects and do not have methods.
Java also has static methods and variables which are not associated with any instance of a class.
These non-OOPs features were added for backward compatibility with C and C++ and for performance reasons.
However, Java still f...
Constructors are special methods that are called when an object is created, while methods are functions that perform specific tasks.
Constructors have the same name as the class and do not have a return type
Constructors are used to initialize the object's state
Methods can have any name and return type
Methods are used to perform specific tasks on the object
Constructors are called automatically when an object is created
Me
Java variables can be classified into three types: local, instance, and static.
Local variables are declared inside a method and have limited scope.
Instance variables are declared inside a class but outside a method and are accessible to all methods of the class.
Static variables are declared with the static keyword and are shared among all instances of the class.
Examples: int count = 0; // local variable, private String...
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Nov 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Walk-in and was interviewed before Sep 2019. There were 5 interview rounds.
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
based on 7 reviews
Rating in categories
Software Engineer
11
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Developer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Infosys
TCS
Wipro
HCLTech