Filter interviews by
I applied via Naukri.com
Answering two technical questions related to Java programming.
Double size refers to the number of bytes occupied by a double-precision floating-point value in Java, which is 8 bytes.
The wrapper class of boolean is Boolean.
Top trending discussions
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
Use Streams to remove duplicates and retain only even numbers from an array.
Convert the array to a stream using Arrays.stream()
Use distinct() to remove duplicates
Filter out odd numbers using filter()
Collect the result using collect(Collectors.toList())
Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.
Static methods belong to the class itself, not to any specific instance
Final keyword ensures that the method cannot be overridden in subclasses
Static methods are commonly used for utility methods that do not require access to instance variables
Example: Math class in Java has static methods like Ma
The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.
RestController is a specialized version of Controller used for RESTful web services
RestController eliminates the need for @ResponseBody annotation
Controller is used for traditional MVC controller functionality
RestController returns data directly without needing to go through a view resolve...
Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.
Microservices allow for easier scalability and maintenance of complex applications.
Each service in a microservices architecture can be developed, deployed, and scaled independently.
Microservices promote flexibility and agility in software development.
Examples of companies us...
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.
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Java 8 Default Method allows interfaces to have method implementations.
Introduced in Java 8 to provide backward compatibility for interfaces
Can have method implementations in interfaces using the 'default' keyword
Used to add new methods to interfaces without breaking existing implementations
Sort array of strings with a given value
Use Arrays.sort() method with a custom Comparator to sort the array based on the given value
Handle cases where the given value is not present in the array
Example: Sort array ['apple', 'banana', 'orange', 'grape'] with 'banana' as the given value
posted on 30 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can extend only one abstract class, but can implement multiple interfaces.
Abstract classes are used to define a common behavior among subclasses, while interfaces are used to define a contract for classes...
Handler methods in Java are methods that are responsible for handling incoming requests and generating responses.
Handler methods are typically defined in classes annotated with @Controller or @RestController.
These methods are mapped to specific URLs using @RequestMapping or other mapping annotations.
Handler methods can have parameters such as HttpServletRequest, HttpServletResponse, or model attributes.
The return value...
Some of the top questions asked at the Protechsoft Technologies Java Programmer interview -
based on 1 interview
Interview experience
Software Engineer
30
salaries
| ₹2 L/yr - ₹7 L/yr |
Softwaretest Engineer
25
salaries
| ₹2 L/yr - ₹7 L/yr |
Software Developer
13
salaries
| ₹2.6 L/yr - ₹8 L/yr |
Test Engineer
13
salaries
| ₹2.6 L/yr - ₹6.7 L/yr |
HR Executive
11
salaries
| ₹2 L/yr - ₹4.7 L/yr |
TCS
Infosys
Wipro
HCLTech