a. Private methods are final.
b. Protected members are accessible within a package and inherited classes outside the package.
c. Protected methods are final.
d. We cannot override private methods.
Answer:
1,2 and 4
a. Private methods are final.
b. Protected members are accessible within a package and inherited classes outside the package.
c. Protected methods are final.
d. We cannot override private methods.
1,2 and 4
a. Vector b. ln c. Response d. Request Answer: d. Request Explanation: The JSP request is an implicit object of type HttpServletRequest. It can beĀ used
a. double num1, int num2 =0; b. int num1,num2; c. int num1, num2 = 0; d. int num1 = 0, num2 = 0; Answer: a.
a. Overloading can arbitrarily change the access of a method while overriding can only make it more restrictive. b. Overloading happens at compile-time, while overriding
a) Object-oriented b) Use of pointers c) Portable d) Dynamic and Extensible Answer: b) Use of pointers Explanation: Pointers store and manage the addresses of
Oracle Certified Tutor/Trainer with 100+ reviews