i
Synechron
Filter interviews by
I was interviewed in Feb 2022.
Run time polymorphism is method overriding while compile time polymorphism is method overloading.
Compile time polymorphism is resolved at compile time while run time polymorphism is resolved at runtime.
Method overloading is an example of compile time polymorphism while method overriding is an example of run time polymorphism.
Compile time polymorphism is faster than run time polymorphism as it is resolved at compile tim...
HashMap is a data structure that stores key-value pairs and provides constant time complexity for basic operations.
HashMap uses hashing to store and retrieve elements
It allows null values and only one null key
Collisions are resolved using separate chaining or open addressing
The initial capacity and load factor can be specified during initialization
The size of the HashMap is dynamically increased as elements are added
Exceptions in Rest APIs are handled using try-catch blocks and appropriate error responses.
Use try-catch blocks to catch exceptions that may occur during API execution.
Handle different types of exceptions separately to provide specific error responses.
Return appropriate HTTP status codes and error messages in the response.
Log the exception details for debugging purposes.
Consider using a global exception handler to cent
The highest limit of HashMap is Integer.MAX_VALUE, which is 2^31 - 1.
The highest limit is determined by the maximum capacity of an array in Java, which is Integer.MAX_VALUE.
The default initial capacity of a HashMap is 16, and it automatically increases its capacity as needed.
If the number of elements exceeds the maximum capacity, an OutOfMemoryError will be thrown.
Functional interfaces are interfaces with only one abstract method. They are used for lambda expressions and method references.
Functional interfaces are used for functional programming in Java.
They are used for lambda expressions and method references.
They have only one abstract method.
Examples of functional interfaces are Runnable, Callable, and Comparator.
Functional interfaces can be annotated with @FunctionalInterfa
Streams in Java are a sequence of elements that can be processed in parallel or sequentially.
Streams are used to perform operations on collections of data in a concise and functional way.
They can be used to filter, map, reduce, and sort data.
Streams can be processed in parallel to improve performance.
Examples of stream methods include filter(), map(), reduce(), and sorted().
To convert list to arraylist, use ArrayList constructor. To convert arraylist to list, use List constructor.
To convert list to arraylist, use ArrayList constructor and pass the list as parameter.
To convert arraylist to list, use List constructor and pass the arraylist as parameter.
Example: List
ArrayList
Example: ArrayList
posted on 3 Jan 2025
I applied via Referral and was interviewed in Dec 2024. There were 2 interview rounds.
Deep copy creates a new copy of an object with its own unique memory space, while shallow copy creates a new object that references the same memory locations as the original object.
Deep copy duplicates all nested objects, while shallow copy only duplicates the references to nested objects.
Deep copy ensures that changes to the copied object do not affect the original object, while shallow copy may lead to unintended sid...
Use a loop to swap characters of two strings without using strcpy function.
Create two arrays of characters to store the strings
Use a loop to iterate through each character of the strings and swap them
Ensure to handle cases where strings have different lengths
Developed a web application for tracking employee attendance and performance
Implemented user authentication and authorization using Spring Security
Utilized Hibernate for database interaction and data persistence
Designed and developed RESTful APIs for frontend integration
Used AngularJS for frontend development to create interactive user interfaces
I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.
A standard online test conducted through one of the testing platforms.
SQL , CODING QUESTION PYTHON
I am a software developer with 5 years of experience in Java, Python, and SQL.
5 years of experience in Java, Python, and SQL
Strong problem-solving skills
Experience working in Agile development environment
Familiarity with version control systems like Git
Passionate about learning new technologies
Company is a leading software development firm specializing in creating innovative solutions for various industries.
Company has a strong reputation for delivering high-quality software products
Specializes in creating custom solutions for clients in different industries
Known for innovative and cutting-edge technology solutions
Has a diverse portfolio of successful projects
Company values teamwork and collaboration in thei
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...
posted on 14 Sep 2024
Examples of Oracle queries
Use SELECT statement to retrieve data from a table
Use WHERE clause to filter results based on a condition
Use JOIN to combine rows from two or more tables based on a related column
posted on 24 Sep 2024
Map unique elements in an array of strings
Create a map to store unique elements
Iterate through the array and add each element to the map as a key
Retrieve the keys of the map to get the unique elements
Sets are data structures that store unique elements and can be used to efficiently find elements in the set.
Sets do not allow duplicate elements, so each element in a set is unique.
To find elements in a set, you can use the 'has' method to check if a specific element is present in the set.
Sets are commonly used in programming for tasks like removing duplicates from a list or checking for the presence of specific elemen
I applied via Recruitment Consulltant
based on 1 review
Rating in categories
Technical Lead
2.7k
salaries
| ₹11.4 L/yr - ₹40 L/yr |
Senior Associate
1.9k
salaries
| ₹8 L/yr - ₹27 L/yr |
Senior Software Engineer
1.5k
salaries
| ₹12.5 L/yr - ₹31 L/yr |
Senior Associate Technology L1
1k
salaries
| ₹8.9 L/yr - ₹29 L/yr |
Associate Specialist
792
salaries
| ₹12.9 L/yr - ₹40 L/yr |
TCS
Infosys
Wipro
HCLTech