Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.
C++:
#
#
Class Demo
{
int n;
Public:
Void accept()
{
Cout<<"Enter number";
Cin>>n;
if(n>10)
{
Cout<<" It is greater than 10";
}
if(n<10)
{
Cout<<"It is not greater than 10";
}
}
};
Void main ()
{
Clrscr( ) ;
Demo D
D. accept () ;
getch () ;
}
Class Test Calculator
{
Public Static void main (String [] args) {
Calculator C1=new Calculator ();
C1:Addition (10, 20) ;
C1:Multiplication (10, 20) ;
C1:Subtraction (10, 20) ;
C1:Division (10, 20);
}
}
My self: Aditya Manik Gidhane
I Study in Complete : BSc (computer science)
Top trending discussions
I applied via Company Website and was interviewed in Dec 2024. There was 1 interview round.
I was interviewed in Oct 2024.
I applied via Indeed and was interviewed in Jul 2024. There was 1 interview round.
Objects of String are stored in the String Pool in Java.
String objects are stored in the String Pool, a special memory area in Java heap memory.
String literals are automatically stored in the String Pool.
String objects created using the new keyword are not stored in the String Pool.
String.intern() method can be used to store a String object in the String Pool.
A bean in Spring Boot is a Java object that is instantiated, assembled, and managed by the Spring IoC container.
Beans are defined in the Spring configuration file or using annotations like @Component, @Service, @Repository, etc.
Beans are singleton by default but can be scoped as prototype, request, session, etc.
Beans are injected into other beans using dependency injection.
Example: @Component annotation is used to defi
Query parameters are used to pass data to a web server through the URL, while path parameters are part of the URL itself.
Query parameters are key-value pairs added to the end of a URL after a '?'
Path parameters are variables within the URL path itself, denoted by curly braces {}
Example of query parameter: www.example.com/api/users?id=123
Example of path parameter: www.example.com/api/users/{userId}
Exceptions are recoverable errors that can be handled in code, while errors are unrecoverable issues that usually result in program termination.
Exceptions are checked at compile time, while errors are unchecked.
Exceptions are subclasses of Throwable, while errors are subclasses of Error.
Examples of exceptions include FileNotFoundException, NullPointerException, while examples of errors include OutOfMemoryError, StackOv
I applied via Company Website and was interviewed in Sep 2024. There was 1 interview round.
Reverse a string while keeping the position of spaces intact
Split the string into an array of characters
Iterate through the array and reverse the characters while keeping track of space positions
Join the array back into a string
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Java collections are data structures that store and manipulate groups of objects.
Types of collections include List, Set, Map, Queue, etc.
Internal workings involve data structures like arrays, linked lists, hash tables, etc.
Collections framework provides interfaces and classes for working with collections.
Count occurrences of a specific string in an array of strings.
Iterate through the array and use a HashMap to store the count of each string.
Use the string as key and increment the count each time it is encountered.
Return the count of the specific string at the end.
Using stream to filter a list of strings
Use the filter method to apply a predicate to each element in the stream
Convert the stream back to a list using the collect method
Transactions in Spring framework help manage database transactions in a consistent and reliable manner.
Spring provides support for declarative transaction management using @Transactional annotation
Transactions can be managed programmatically using TransactionTemplate
Spring supports both programmatic and declarative transaction management
Transactions ensure ACID properties (Atomicity, Consistency, Isolation, Durability)
3 coding questions were given and to be solved only in java
posted on 30 Oct 2023
I applied via Job Portal and was interviewed in Sep 2023. There were 2 interview rounds.
posted on 1 Aug 2022
I applied via Referral and was interviewed in Jul 2022. There was 1 interview round.
Software Developer
40
salaries
| ₹2.2 L/yr - ₹10.7 L/yr |
Software Engineer
27
salaries
| ₹2.9 L/yr - ₹9.7 L/yr |
Consultant
16
salaries
| ₹7.9 L/yr - ₹35.1 L/yr |
Front end Developer
14
salaries
| ₹1.7 L/yr - ₹8 L/yr |
Product Manager
13
salaries
| ₹7.2 L/yr - ₹24 L/yr |
Flipkart
Ola Cabs
Paytm
Swiggy