Gmail - Java Quiz2!24!25_D1AD
Gmail - Java Quiz2!24!25_D1AD
1 message
View score
Java Quiz2_24-25_D1AD
Your email (2024.chetna.nawlani@ves.ac.in) was recorded when you submitted this form.
Basic Details
Student Name *
Chetna Nawlani
Class *
D1ADA
Roll No. *
46
Quiz
What is the main reason Java does not support multiple inheritance using classes?
Memory constraints
Security reasons
Diamond problem
Performance issues
he current object
A static method
What happens if you declare a method as final? *
It cannot be inherited.
Drawing Circle
Compilation error
Runtime error
What will happen if you uncomment the display() method in the Derived class? *
It will override the method in the Base class.
*
Parent constructor Child constructor
Child constructor
Compilation error
Runtime error