Faster and better experience!
i
Mantra Labs
Filter interviews by
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Types of polymorphism include compile-time (method overloading) and runtime (method overriding) polymorphism.
Example of compile-time polymorphism: function overloading in Java.
Example of runtime polymorphism: method overriding i
I applied via Recruitment Consulltant and was interviewed in Sep 2023. There were 3 interview rounds.
Very simple questions like reverse a string and patterns and prime number
The question is asking to add strings, reverse a string, and work with list and tuple in an array of strings.
To add strings, concatenate them using the '+' operator.
To reverse a string, use string slicing with a step of -1.
To work with lists, use square brackets [] to define a list of elements.
To work with tuples, use parentheses () to define a tuple of elements.
It was a 30 marks aptitude test
Mantra Labs interview questions for popular designations
I applied via Approached by Company and was interviewed in Oct 2023. There was 1 interview round.
I applied via Job Portal and was interviewed before Oct 2023. There were 2 interview rounds.
Basics of react, redux, js output based questions
2 pointer approach, valid parenthesis, swap without extra variable, complexity analysis code improvement
I applied via campus placement at Narula Institute of Technology, Kolkata and was interviewed before Aug 2023. There were 3 interview rounds.
Basic aptitude like percentage profit loss
Intermediate question like array string
Use Java to remove spaces from a string
Use the replaceAll() method with regex to remove spaces
Example: String str = "Hello World"; str = str.replaceAll(" ", "");
Alternatively, you can use a loop to iterate through the string and remove spaces
Java is a statically typed language with a strong emphasis on object-oriented programming, while Python is dynamically typed and focuses on simplicity and readability.
Java is statically typed, meaning variables must be declared with a specific data type, while Python is dynamically typed and does not require explicit variable declarations.
Java is strongly typed, meaning variables are strictly bound to their data types,...
Easy and objective type questions asked. The interviewer has good knowledge.
I applied via Naukri.com and was interviewed before Jun 2023. There were 3 interview rounds.
Sorting of an array,
Top trending discussions
Interview experience
based on 77 reviews
Rating in categories
5-9 Yrs
Not Disclosed
6-12 Yrs
Not Disclosed
8-12 Yrs
Not Disclosed
Software Engineer
175
salaries
| ₹3 L/yr - ₹12 L/yr |
Senior Software Engineer
95
salaries
| ₹5.5 L/yr - ₹14 L/yr |
Technical Lead
34
salaries
| ₹8.5 L/yr - ₹22.5 L/yr |
Software Developer
31
salaries
| ₹4 L/yr - ₹9.6 L/yr |
UI/UX Designer
13
salaries
| ₹3 L/yr - ₹8.8 L/yr |
TCS
Infosys
Wipro
HCLTech