
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
25 questions
Kotlin alapok 01.

Quiz
•
Professional Development
18 questions
Flutter Online Quiz

Quiz
•
Professional Development
20 questions
Basics of Python Programming Unit-1

Quiz
•
University - Professi...
20 questions
HACKATHON HUSTLE(ROUND 2)

Quiz
•
Professional Development
25 questions
class ,objects,variables & methods

Quiz
•
Professional Development
20 questions
Dart Q_5

Quiz
•
Professional Development
20 questions
CPR_Quiz_Arrays and strings

Quiz
•
Professional Development
20 questions
HACKATHON HUSTLE(ROUND 1)

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade