(OCP) Oracle Certified Professional Practice Test

OCP Java Class Design and OOP Questions and Answers

Free · Instant Results

Given the following class definitions, which statement is true? public class Animal { public Number getAge() throws Exception { return 10; } } public class Dog extends Animal { // INSERT METHOD HERE }
▶ Start Practice Test