Java Developer OCA; Questions and Answers 100% Pass
Java Developer OCA; Questions and Answers 100% Pass What is ion.Predicate? CORRECT ANSWER-It is an interface that has only one abstract method (among other non-abstract methods) with the signature public boolean test(T t). True or False: A method with no access modifier defined in a class can be overridden by a method marked protected (assuming that it is not final) in the sub class. CORRECT ANSWER-True An Overriding method is allowed to make the overridden method more accessible, and since protected is more accessible than default (package), this is allowed. Note that protected access will allow access to the subclass even if the subclass is in a different package but package access will no
École, étude et sujet
- Établissement
- Java
- Cours
- Java
Infos sur le Document
- Publié le
- 25 juillet 2024
- Nombre de pages
- 28
- Écrit en
- 2023/2024
- Type
- Examen
- Contient
- Questions et réponses
Sujets
- java developer oca
-
questions and answers 100 pass
Document également disponible en groupe