flutter oop quiz

flutter oop quiz

Professional Development

20 Qs

quiz-placeholder

Similar activities

Printers and Such

Printers and Such

Professional Development

20 Qs

Basic 2 Python

Basic 2 Python

12th Grade - Professional Development

20 Qs

imagePRESS V1350 - part 2

imagePRESS V1350 - part 2

Professional Development

15 Qs

S.A.L.E Refresher Course

S.A.L.E Refresher Course

Professional Development

19 Qs

Quiz 1 Internship

Quiz 1 Internship

Professional Development

15 Qs

Azure ArqSecDevSecOps Clase 3

Azure ArqSecDevSecOps Clase 3

Professional Development

15 Qs

Javascript Assessment

Javascript Assessment

Professional Development

20 Qs

flutter Q_5.2

flutter Q_5.2

Professional Development

15 Qs

flutter oop quiz

flutter oop quiz

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

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

Media Image
Media Image
Media Image
Media Image

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

Media Image
Media Image
Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Professional Development