Question 8
Answer saved
Flag
question.
Which of the following is true about inheritance in Java?
1) Private methods are final.
2) Protected members are accessible within a package and
inherited classes outside the package.
3) Protected methods are final.
4) We cannot override private methods.
O a. only 1
O b. 1,2 and 4
O c. 2, 3 and 4
O d. 1,2 and 3
Clear my choice