i
RS Software
Filter interviews by
I applied through the careers page and after a week HR called me and scheduled an online test on Hacker Rank which contained 5 questions, 2 DSA, 1 Sql Query, 1 Rest Apis and 1 Problem Which I had to complete using IDE, that was a Spring Boot project and I need to validate the incoming request
Count the number of characters in a given string.
Iterate through the string and increment a counter for each character encountered.
Use the length() method of the String class to get the total number of characters.
Consider handling edge cases like empty strings or null inputs.
Count the number of words in a given string.
Split the string by spaces to get an array of words
Get the length of the array to count the number of words
Consider handling special cases like multiple spaces or punctuation
Top trending discussions
I applied via Campus Placement and was interviewed in Nov 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Apr 2024. There were 3 interview rounds.
Have to solve 2 coding questions on coding platform
Oops concept in Java refers to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation hides the internal state of an object and restricts access to it.
Polymorphism allows objects to be treated as instances of their parent class.
Abstraction focuses on the essential characteristics
Microservices communicate through lightweight protocols like HTTP, messaging queues, and RPC.
HTTP: RESTful APIs are commonly used for communication between microservices.
Messaging queues: Services can communicate asynchronously through message brokers like RabbitMQ or Kafka.
RPC (Remote Procedure Call): Services can directly call each other's functions over the network.
The static keyword in Java is used to create class-level variables and methods that can be accessed without creating an instance of the class.
Static variables are shared among all instances of a class
Static methods can be called without creating an instance of the class
Static blocks are used to initialize static variables
DB connections flow in Spring Boot involves configuring data source, creating connection pool, and managing transactions.
Configure data source in application.properties or application.yml
Use @EnableJpaRepositories to enable JPA repositories
Create connection pool using HikariCP or Tomcat JDBC
Manage transactions using @Transactional annotation
REST is lightweight, uses standard HTTP methods, and is more flexible. SOAP is more rigid, uses XML, and has built-in security features.
REST uses standard HTTP methods like GET, POST, PUT, DELETE for communication.
SOAP uses XML for communication and has built-in security features like WS-Security.
REST is more lightweight and flexible, making it easier to work with in modern web development.
SOAP is more rigid and has a ...
posted on 7 Jul 2024
OOPS (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPS focuses on creating objects that interact with each other to solve problems
Key principles include encapsulation, inheritance, polymorphism, and abstraction
Encapsulation involves bundling data and methods that operate on the data into a single unit
Inheritance allows one class to inherit prop...
Encapsulation is the concept of bundling data and methods that operate on the data into a single unit, known as a class.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
It allows for better control over the data by preventing direct access from outside the class.
Getters and setters are commonly used to access and modify the encapsulated data.
Example: In a Car class, variables l...
The four pillars of object-oriented programming in Java are abstraction, encapsulation, inheritance, and polymorphism.
Abstraction: Hides complex implementation details and only shows the necessary features to the outside world.
Encapsulation: Bundles data and methods that operate on the data into a single unit, preventing direct access from outside the class.
Inheritance: Allows a class to inherit properties and behavior...
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed before Mar 2023. There were 2 interview rounds.
Normal Question Regarding Java oops and collections
Question regarding arrays, Array list and oops
Interview experience
Associate Software Engineer
52
salaries
| ₹2.2 L/yr - ₹8 L/yr |
Software Engineer
51
salaries
| ₹3.1 L/yr - ₹11.5 L/yr |
Senior Software Engineer
42
salaries
| ₹4.2 L/yr - ₹13.5 L/yr |
Assistant Technical Consultant
39
salaries
| ₹6.1 L/yr - ₹19 L/yr |
Technical Consultant
30
salaries
| ₹9 L/yr - ₹33 L/yr |
TCS
Infosys
Wipro
HCLTech