Filter interviews by
I applied via Company Website and was interviewed in Nov 2021. There was 1 interview round.
Inline function is a function that is expanded in line when it is called, rather than calling a separate function.
Inline functions are used to improve performance by reducing the overhead of function calls.
They are defined using the 'inline' keyword.
They are commonly used in C++ programming.
Example: inline int add(int a, int b) { return a + b; }
Launch modes determine how a new instance of an activity is associated with the current task.
There are four launch modes: standard, singleTop, singleTask, and singleInstance.
Standard is the default mode and creates a new instance of the activity every time it is launched.
SingleTop mode checks if there is already an instance of the activity at the top of the task stack and reuses it if possible.
SingleTask mode creates a...
A factory is used to create objects of a specific class without exposing the creation logic to the client.
Factories provide a way to create objects without exposing the creation logic to the client.
They can be used to create objects of a specific class or a group of related classes.
Factories can be used to implement the Singleton pattern, where only one instance of a class is created.
They can also be used to implement ...
Program to slice and rearrange array without extra variables or inbuilt methods
Use a loop to iterate through the array and shift elements to the left
Use a temporary variable to store the first element and move the rest of the elements one position to the left
Repeat the above step until the desired index is reached
Then move the temporary variable to the end of the sliced array
Continue shifting the remaining elements to
Top trending discussions
posted on 11 Oct 2020
String Builder and String Buffer are classes in Java used for manipulating strings.
Both classes are used to create mutable strings.
String Builder is faster than String Buffer but not thread-safe.
String Buffer is slower than String Builder but thread-safe.
Both classes have similar methods for appending, inserting, and deleting characters.
Example: StringBuilder sb = new StringBuilder("Hello"); sb.append(" World"); System...
Software Engineer
85
salaries
| ₹8 L/yr - ₹14.5 L/yr |
Software Development Engineer
82
salaries
| ₹8 L/yr - ₹15 L/yr |
Software Developer
74
salaries
| ₹8 L/yr - ₹14 L/yr |
Senior Software Engineer
51
salaries
| ₹11.7 L/yr - ₹31 L/yr |
Software Development Engineer II
47
salaries
| ₹11 L/yr - ₹18.5 L/yr |
Flipkart
Amazon
Paytm Mall
Snapdeal