void main(){
var x= hh();print(9);var y =hh.fromy();}
class hh{hh(){print(10);}
hh.fromy(){print(11);}}
what is the output?
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
25 questions
core java basics
Quiz
•
Professional Development
15 questions
Javascript basics
Quiz
•
Professional Development
20 questions
Technical Quiz Round 1
Quiz
•
Professional Development
15 questions
Indicator 6 & 7 Summer 2022 PL
Quiz
•
Professional Development
15 questions
Technology Privilege Walk
Quiz
•
Professional Development
20 questions
Sēklaudzēšana, sēklas kvalitāte
Quiz
•
Professional Development
22 questions
Python Fundamentals Assessment
Quiz
•
Professional Development
25 questions
core java 2
Quiz
•
Professional Development
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade