// Type error if there is an erro
A obj1 = new A();
obj1.setX(10);
System.out.println(obj1);
Inheritance Day 3
Quiz
•
Computers
•
12th Grade
•
Medium
Jeffrey Smith
Used 8+ times
FREE Resource
13 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
// Type error if there is an erro
A obj1 = new A();
obj1.setX(10);
System.out.println(obj1);
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
// type error if there is an error
A obj1 = new A();
obj1.setY(13);
System.out.println(obj1);
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
// type error if there is an error
A obj1 = new A();
obj1.sayHi();
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How long is an Olympic swimming pool (in meters)?
25
50
75
100
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
// type error if there is an error
B obj2 = new A();
System.out.println(obj2);
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
// if there is an error type error
A obj3 = new B();
obj3.setX(15);
System.out.println(obj3);
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
// type error if there is an error
A obj3 = new B();
obj3.setY(20);
System.out.println(obj3);
18 questions
AP CSA U1L01-03
Quiz
•
11th - 12th Grade
17 questions
AP CS Test 0 Module 1
Quiz
•
9th - 12th Grade
15 questions
JAVA: Level-1
Quiz
•
5th - 12th Grade
10 questions
Java Code Tracing Practice A
Quiz
•
9th - 12th Grade
10 questions
Latihan Interface
Quiz
•
9th - 12th Grade
15 questions
Quiz sobre Interfaces en Java y Spring Core
Quiz
•
12th Grade
12 questions
Java - arrays and String methods
Quiz
•
9th - 12th Grade
15 questions
Java Script Quiz
Quiz
•
9th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade