Filter interviews by
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Different methods in REST include GET, POST, PUT, DELETE, PATCH, OPTIONS, and HEAD.
GET - Retrieve data from a server
POST - Send data to a server to create a new resource
PUT - Update an existing resource on the server
DELETE - Remove a resource from the server
PATCH - Update part of a resource
OPTIONS - Get information about the communication options available for a resource
HEAD - Retrieve headers from a server without the
Keyed Access is used to retrieve a single record based on a key, while Parameterized Data Page is used to retrieve multiple records based on parameters.
Keyed Access is used to fetch a single record from the database based on a unique key value.
Parameterized Data Page is used to fetch multiple records from the database based on specified parameters.
Keyed Access is suitable for scenarios where only one record needs to be...
Obj- and RDB- methods are used in PEGA for creating, updating, and deleting instances of classes and interacting with relational databases.
Obj- methods are used for creating, updating, and deleting instances of classes in PEGA.
RDB- methods are used for interacting with relational databases in PEGA.
Obj-Save is an example of an Obj- method used to save an instance of a class in PEGA.
RDB-Save is an example of an RDB- meth...
Top trending discussions
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
20 aptitude,20 comunication,4 program questions
General topics . topics about online class vs office line class
posted on 5 Sep 2024
Exception handling is a mechanism to handle runtime errors in a program.
Exception handling helps in gracefully handling unexpected errors in a program.
It prevents the program from crashing and allows for proper error logging and recovery.
Commonly used keywords in exception handling are try, catch, finally, and throw.
Example: try { // code that may throw an exception } catch(Exception ex) { // handle the exception }
Abstract classes can have implementation details while interfaces cannot.
Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.
A class can only inherit from one abstract class, but can implement multiple interfaces.
Abstract classes can have constructors, fields, and properties, while interfaces cannot.
Abstract classes are used when some common functionality ne...
Sonarqube is a static code analysis tool used to detect code smells and bugs in code. It is integrated into CI/CD pipelines for continuous code quality checks.
Sonarqube is a static code analysis tool that identifies code smells, bugs, and security vulnerabilities in code.
Code smells are common programming issues that may indicate a deeper problem in the code. Examples include duplicated code, long methods, and complex ...
Program to find numbers divisible by 3 in a string and reverse their indexes.
Iterate through the string and check if each character is a number divisible by 3.
Store the divisible numbers in an array and reverse their indexes.
Join the array back into a string and return the result.
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Consumers read data from topics, while producers write data to topics in Kafka.
Consumers subscribe to topics to read messages from them
Producers publish messages to topics for consumers to read
Consumers can be part of a consumer group to scale out consumption
Producers can specify key for messages to control partitioning
ArrayList is implemented as a resizable array, while LinkedList is implemented as a doubly linked list.
ArrayList provides fast random access, LinkedList provides fast insertion and deletion.
ArrayList uses more memory as it needs to allocate a fixed size array, LinkedList uses more memory for storing references to the next and previous elements.
Example: ArrayList is better for scenarios where random access is required, ...
HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.
HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.
HashMap is faster than HashTable as it is non-synchronized, but HashTable is preferred in multi...
Functional interfaces provide a single abstract method for functional programming in Java.
Functional interfaces allow for lambda expressions and method references to be used as instances of the interface.
Interfaces with multiple abstract methods cannot be used for lambda expressions.
Example: java.util.function.Function is a functional interface with a single abstract method apply().
Java 8 introduced new features like lambda expressions, streams, functional interfaces, and default methods.
Lambda expressions: Allows writing concise code by enabling functional programming.
Streams: Provides a way to work with sequences of elements efficiently.
Functional interfaces: Interfaces with a single abstract method, used for lambda expressions.
Default methods: Allows adding new methods to interfaces without br
Yes, one functional interface can extend another interface in Java.
Functional interfaces can extend other functional interfaces in Java.
The child interface can have only one abstract method, but can inherit default methods from the parent interface.
Example: interface Parent { void method1(); } interface Child extends Parent { void method2(); }
posted on 13 Sep 2024
The averages of 20 numbers is zero of them at the most how many may be greater than zero
Interview experience
based on 3 reviews
Rating in categories
Senior Software Engineer
51
salaries
| ₹7 L/yr - ₹22.2 L/yr |
Senior Consultant
40
salaries
| ₹10 L/yr - ₹35 L/yr |
Senior IT Recruiter
25
salaries
| ₹4 L/yr - ₹6.5 L/yr |
Information Technology Recruiter
22
salaries
| ₹1.5 L/yr - ₹4.6 L/yr |
Software Engineer
21
salaries
| ₹3 L/yr - ₹11 L/yr |
Infosys
TCS
Wipro
HCLTech