
flutter oop quiz
Authored by Mina Romany
Professional Development
Professional Development
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
void main(){
var x= hh();print(9);var y =hh.fromy();}
class hh{hh(){print(10);}
hh.fromy(){print(11);}}
what is the output?
10
9
11
9
10
10
11
11
11
9
11
11
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
can the class have a function of its name?
false
true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main(){
var h=Human(10, 5, 8);
print(10);print(5);print(8);}
class Human{int? x,y,z;
Human(this.x,this.y,this.z){print(x);print(y);print(z);}}
class NewHuman extends Human{NewHuman(){print(10);}}
error
null
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main(){var t = tt();}
class hh{hh(){print(10);}}
class tt extends hh{}
what is the output?
null
10
10
10
10
null
no output
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
main(){var ob1=Car().color;}
class Car{String color='red';}
what is ob1 data type?
Car
var
dynamic
String
none of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class Car{String color='red';}
class CarObe extends Car{String color='blue';}
main() {
print(CarObe().color);
print(Car().color);
}
red
blue
blue
red
blue
null
error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
2PM Pub Quiz Sample Questions
Quiz
•
Professional Development
15 questions
Competency Based Education
Quiz
•
Professional Development
17 questions
Accounts receivable
Quiz
•
Professional Development
18 questions
Residential Sprinklers
Quiz
•
Professional Development
20 questions
ABH Induction
Quiz
•
Professional Development
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
15 questions
Constructivism
Quiz
•
12th Grade - Professi...
20 questions
Mutual Funds Advanced by Rahul
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development