Filter interviews by
I was interviewed in Jul 2024.
Functional interfaces in Java are interfaces with only one abstract method, used for lambda expressions and method references.
Functional interfaces can be used with lambda expressions and method references to provide implementation for the single abstract method.
Examples of functional interfaces in Java include Runnable, Callable, and Comparator.
Functional interfaces can also have default and static methods in addition
No, static methods cannot be overridden in interfaces.
Static methods in interfaces are implicitly public and abstract, so they cannot be overridden.
If two interfaces have the same static method signature, it will not cause any conflict.
Implementing classes will have to provide their own implementation of the static method.
I applied via Approached by Company and was interviewed in Sep 2023. There was 1 interview round.
I applied via Approached by Company and was interviewed before Mar 2023. There were 3 interview rounds.
Java Full stack 180 min
Mphasis interview questions for designations
String is a class in Java used to represent a sequence of characters.
Strings are immutable in Java
String objects can be created using string literals or the new keyword
String class provides various methods for manipulating strings such as substring, replace, etc.
I applied via Naukri.com and was interviewed before Sep 2020. There was 1 interview round.
Top trending discussions
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
All question related to core java
An object can be created in Java using new keyword, clone method, newInstance method, and deserialization.
Using new keyword: ClassName obj = new ClassName();
Using clone method: ClassName obj2 = (ClassName) obj1.clone();
Using newInstance method: ClassName obj3 = (ClassName) Class.forName("ClassName").newInstance();
Using deserialization: ObjectInputStream in = new ObjectInputStream(new FileInputStream("file.ser")); Class
Good coding questions related array and string
Interview experience
based on 20 reviews
Rating in categories
Software Engineer
6.2k
salaries
| ₹2 L/yr - ₹11 L/yr |
Senior Software Engineer
5.6k
salaries
| ₹6 L/yr - ₹23 L/yr |
Associate Software Engineer
4.5k
salaries
| ₹2 L/yr - ₹6.4 L/yr |
Module Lead
2.4k
salaries
| ₹8 L/yr - ₹33 L/yr |
Transaction Processing Officer
2.3k
salaries
| ₹1.4 L/yr - ₹4.5 L/yr |
Cognizant
Wipro
Accenture
TCS