Core java interview questions on super keyword and constructor
1. What is super?
2. How are this() and super() used with constructors?
3. Can you use this() and super() both in a constructor?
4. What is Constructor?
5. How does the Java default constructor be provided ?
6. Can constructor be inherited?
7. What is constructor chaining and how is it achieved in Java ?
8. When does the compiler supply a default constructor for a class?
9. Does constructor return any value?
10. What are the differences between Constructors and Methods?
11. Can a constructor be an abstract method ?
Check out all interview questions:
- All core java interview questions
- All java collections interview questions
- Face to face java Interview questions
- Telephonic java interview questions