
flutter oop quiz

Quiz
•
Professional Development
•
Professional Development
•
Hard
Mina Romany
Used 9+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
DesAppiOs UNIDAD2

Quiz
•
Professional Development
20 questions
Edac NodeJS

Quiz
•
Professional Development
16 questions
MISA Testing Security Quiz

Quiz
•
Professional Development
15 questions
Home Insurance Assessment

Quiz
•
Professional Development
15 questions
DCFS: SNAP Application Process Quiz

Quiz
•
Professional Development
19 questions
M4A1: The Madeline Hunter Format of Lesson Planning

Quiz
•
Professional Development
15 questions
Day #1: Pengenalan Dasar-Dasar Kompensasi dan Benefit

Quiz
•
Professional Development
20 questions
Python Code

Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade