i
Filter interviews by
Aptitude Questions, Verbal and reasoning
Top trending discussions
posted on 2 Jan 2025
I applied via Referral
Print a specific pattern using any programming language.
A class in OOP is a blueprint for creating objects, defining their properties and behaviors.
Classes are templates for creating objects in OOP
They define the properties (attributes) and behaviors (methods) of objects
Objects are instances of classes, each with its own unique data
Inheritance allows classes to inherit properties and behaviors from other classes
Encapsulation ensures that the data is hidden and can only be a...
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while interface cannot have any implementation.
A class can only extend one abstract class, but can implement multiple interfaces.
Abstract classes are used to define common characteristics of subclasses, while interfaces are used to define contracts for...
Joining is combining data from two or more tables based on a related column, while an inner join query retrieves only the matching records.
Joining is used to combine data from multiple tables in a database.
Inner join query retrieves only the records that have matching values in both tables.
Syntax for inner join: SELECT columns FROM table1 INNER JOIN table2 ON table1.column = table2.column;
Example: SELECT orders.order_i...
I applied via Approached by Company and was interviewed in Sep 2024. There were 3 interview rounds.
I am a Java Developer with 5 years of experience in developing web applications using Java, Spring, and Hibernate.
5 years of experience in Java development
Proficient in Spring and Hibernate frameworks
Strong understanding of web application development
Developed a web-based inventory management system using Java, Spring, and Hibernate
Designed and implemented database schema using Hibernate
Developed RESTful APIs using Spring framework
Worked on front-end development using HTML, CSS, and JavaScript
Collaborated with team members to troubleshoot and resolve issues
Participated in code reviews and testing
Interfaces and Abstract classes in Java are used for achieving abstraction and defining contracts for classes to implement.
Interfaces in Java are like blueprints for classes, defining methods that must be implemented by classes that implement the interface.
Abstract classes are classes that cannot be instantiated and can have both abstract and concrete methods.
Example of an interface in Java: public interface Shape { ...
Reverse the year of birth and name, then print them in that order.
Reverse the year of birth using StringBuilder.reverse() method
Reverse the name using StringBuilder.reverse() method
Print the reversed year of birth followed by the reversed name
Threads in Java are lightweight sub-processes that allow concurrent execution within a single process.
Threads allow multiple tasks to be executed simultaneously in a Java program.
Threads share the same memory space and resources within a process.
Example: Creating a new thread using the Thread class or implementing the Runnable interface.
Developed a web application for inventory management system using Java Spring framework
Used Java Spring framework for backend development
Implemented RESTful APIs for communication between frontend and backend
Utilized MySQL database for storing inventory data
Using Java 8 Streams API to print single occurrences of names in an ArrayList of Strings.
Use stream() method on the ArrayList to create a stream of elements.
Use filter() method to filter out elements that occur more than once.
Use distinct() method to get only unique elements.
Use forEach() method to print each unique element.
Code to print each name and the number of occurrences in an ArrayList of Strings.
Iterate through the ArrayList and use a HashMap to store the count of each name.
Print each name along with its count from the HashMap.
Lambda expressions in Java are a concise way to represent anonymous functions.
Lambda expressions are used to provide implementation of functional interfaces.
They enable you to treat functionality as a method argument, or code as data.
Syntax: (parameters) -> expression or (parameters) -> { statements; }
Example: (int a, int b) -> a + b
Functional interfaces in Java are interfaces with only one abstract method, used for lambda expressions and functional programming.
Functional interfaces have only one abstract method, but can have multiple default or static methods.
They are used for lambda expressions and functional programming in Java.
Examples include java.lang.Runnable, java.util.Comparator, and java.util.function.Function.
Streams in Java are sequences of elements that support functional-style operations such as filter, map, reduce, etc.
Streams are not data structures, but rather a way to interact with collections of objects.
They allow for efficient processing of large amounts of data.
Streams can be sequential or parallel, allowing for concurrent processing.
Example: List
I am a Java Developer with 5 years of experience in developing web applications and implementing solutions using Java technologies.
5 years of experience in Java development
Strong knowledge of web application development
Experience in implementing solutions using Java technologies
My previous CTC was confidential as per company policy.
CTC was confidential as per company policy
I am unable to disclose my previous CTC
Previous CTC information is not available
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
posted on 23 Oct 2024
I applied via campus placement at College of Engineering ( Formerly Pune Instiute of Enginering and Technology ), Pune and was interviewed in Sep 2024. There were 3 interview rounds.
Print all strings in an array
Use a loop to iterate through the array
Print each string in the array
Use the formula for sum of natural numbers to find the missing number.
Calculate the sum of numbers from 1 to 100 using the formula n*(n+1)/2
Find the actual sum of numbers from 1 to 100
Subtract the actual sum from the calculated sum to find the missing number
To convert a stack to a heap, you can use a sorting algorithm like heapify.
Use a sorting algorithm like heapify to rearrange the elements in the stack into a heap structure.
Heapify the stack by starting from the last non-leaf node and moving up the tree.
After heapifying the stack, the elements will be in a heap structure with the root node containing the maximum value.
posted on 14 Jan 2025
posted on 19 Nov 2024
Job Roles and Responsibility & Salary Discussion
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
posted on 20 Aug 2024
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Types of risks include strategic, operational, financial, compliance, and reputational risks.
Strategic Risk: Risks related to the organization's long-term goals and objectives.
Operational Risk: Risks arising from internal processes, systems, and people.
Financial Risk: Risks related to financial markets, investments, and funding.
Compliance Risk: Risks associated with failing to comply with laws, regulations, and industr...
I manage risks by identifying, analyzing, and prioritizing potential risks, developing risk mitigation strategies, and monitoring risks throughout the project.
Identify potential risks by brainstorming with team members and stakeholders
Analyze the likelihood and impact of each risk on the project
Prioritize risks based on their severity and potential impact on project objectives
Develop risk mitigation strategies to addre...
I manage change requests by evaluating impact, prioritizing based on project goals, communicating with stakeholders, and updating project documentation.
Evaluate the impact of the change request on project scope, timeline, and budget.
Prioritize change requests based on project goals and objectives.
Communicate with stakeholders to discuss the change request and gather feedback.
Update project documentation including the p...
posted on 12 Dec 2024
I applied via Referral
based on 157 reviews
Rating in categories
Software Developer
7
salaries
| ₹3 L/yr - ₹4.8 L/yr |
Infosys
TCS
Wipro
HCLTech