i
GAVS Technologies
Filter interviews by
I applied via Walk-in and was interviewed in Jan 2024. There were 3 interview rounds.
First round is coding written test. Mostly all questions are asked in Java collections like map, list. One question from recursion and one question from 2D array. Then 2 questions asked from sql.
Count the occurrence of each character in a given string.
Create a map to store character counts
Iterate through the string and update the counts in the map
Print the character counts from the map
Java collection framework provides interfaces and classes to store, manipulate, and retrieve collections of objects.
Interfaces: List, Set, Map, Queue, Deque
Classes: ArrayList, LinkedList, HashSet, HashMap, PriorityQueue
Example: List interface is implemented by classes like ArrayList and LinkedList
Use nested loops to compare each pair of elements and print the differences.
Use nested loops to compare each pair of elements in the array.
Calculate the absolute difference between each pair of elements.
Print the differences between the array elements.
Print duplicate character occurrences in a string.
Iterate through the string and store character counts in a HashMap.
Print characters with count greater than 1 to find duplicates.
Count duplicate elements in a list of strings.
Create a HashMap to store the count of each element in the list.
Iterate through the list and update the count in the HashMap.
Finally, iterate through the HashMap and print the count of elements with count greater than 1.
SQL query to find the maximum mark of maths subject in a student table.
Use the MAX() function to find the maximum mark in the maths subject column.
Specify the maths subject column in the query.
Include the student table name in the query.
Top trending discussions
posted on 4 Sep 2024
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
I applied via Walk-in and was interviewed in Oct 2022. There were 5 interview rounds.
Aptitude test like technical questions
Coding test for technical analysis
I applied via Naukri.com and was interviewed in Aug 2022. There was 1 interview round.
I applied via Campus Placement and was interviewed in Jan 2022. There were 4 interview rounds.
It was medium level java coding questions along with springboot, mcqs
ArrayList is better for random access and LinkedList is better for frequent insertions and deletions.
ArrayList uses dynamic array to store elements, allowing fast random access but slower insertions and deletions.
LinkedList uses doubly linked list to store elements, allowing fast insertions and deletions but slower random access.
Example: Use ArrayList when you need to frequently access elements by index. Use LinkedList...
HashMap is a data structure in Java that stores key-value pairs and allows fast retrieval of values based on keys.
HashMap is part of the Java Collections framework.
It allows null keys and values.
HashMap does not maintain insertion order.
Example: HashMap
Annotations in Java provide metadata about a program that can be used by the compiler or at runtime.
Annotations start with the @ symbol.
Annotations can be used to provide information to the compiler or to runtime environments.
Annotations can be used to define custom metadata for classes, methods, fields, etc.
Annotations can also be used for code generation, documentation, and validation.
Examples of annotations in Java ...
ConcurrentSkipListMap is a concurrent, sorted map implementation in Java.
ConcurrentSkipListMap is a concurrent version of SkipListMap, which is a sorted map implementation based on skip list data structure.
It allows multiple threads to access and modify the map concurrently.
It provides logarithmic time complexity for most operations, making it efficient for concurrent access.
Example: ConcurrentSkipListMap
Yes, I have worked on various data structures like arrays, linked lists, stacks, queues, trees, and graphs.
I have implemented algorithms using data structures like sorting, searching, and traversal.
I have optimized code by choosing the appropriate data structure for the problem.
I have used data structures in projects to efficiently store and manipulate data.
Yes, I have experience working on Multithreading in Java.
Implemented multithreading using Java's Thread class
Used synchronized keyword to handle thread synchronization
Utilized Executor framework for managing thread pools
Program to find min and max no from array of strings
Iterate through the array and compare each element to find min and max
Use Integer.parseInt() to convert strings to integers for comparison
Initialize min and max variables with first element of array
The @Controller annotation is used to create a controller class in Spring MVC, while @RestController is used to create RESTful web services.
The @Controller annotation is used to create a controller class in Spring MVC, which is used to handle traditional web requests.
The @RestController annotation is used to create RESTful web services, which return data in JSON or XML format.
The @RestController annotation is a special...
The @Service annotation is used to mark a class as a service, while the @Repository annotation is used to mark a class as a repository.
The @Service annotation is typically used on service layer classes, which contain business logic.
The @Repository annotation is typically used on repository classes, which interact with a database or other data source.
Both annotations are used for component scanning and dependency inject...
ArrayList is implemented using a dynamic array while LinkedList is implemented using a doubly linked list.
ArrayList provides fast access to elements using index, but slow insertion and deletion.
LinkedList provides fast insertion and deletion, but slow access to elements.
Example: ArrayList is suitable for scenarios where random access is required, while LinkedList is suitable for scenarios where frequent insertion and d
I applied via Referral and was interviewed in Aug 2024. There were 2 interview rounds.
1 Assignment which you need to solve in front of the interviewer
I was interviewed in Jul 2024.
Microservices can introduce complexity, communication overhead, and potential performance issues.
Increased complexity due to managing multiple services
Communication overhead between services
Potential performance issues due to network latency
Difficulty in maintaining consistency across services
No, @FunctionalInterface cannot be extended. Map and flatMap are default methods in the interface and cannot be overridden.
No, @FunctionalInterface cannot be extended as it is a single abstract method interface.
Map and flatMap are default methods in the interface and cannot be overridden.
Example: public interface MyInterface { void myMethod(); default void myDefaultMethod() { // implementation } }
Some of the top questions asked at the GAVS Technologies Junior Java Developer interview -
based on 1 interview
Interview experience
Senior Engineer
607
salaries
| ₹6.7 L/yr - ₹23.5 L/yr |
Engineer
284
salaries
| ₹3 L/yr - ₹10 L/yr |
Lead Engineer
269
salaries
| ₹9 L/yr - ₹33 L/yr |
Senior Software Engineer
226
salaries
| ₹6.1 L/yr - ₹25 L/yr |
Software Engineer
211
salaries
| ₹2.4 L/yr - ₹10.4 L/yr |
TCS
Infosys
Wipro
HCLTech