1Z0-811 Object-Oriented Programming • Set 1
1Z0-811 Object-Oriented Programming Practice Test 1 — 15 questions with explanations. Free, no signup.
A developer writes a class 'Vehicle' with a method 'move()' that prints 'Vehicle moves'. A subclass 'Car' overrides 'move()' to print 'Car moves'. Given: Vehicle v = new Car(); v.move(); What is the output?