Flutter #day11

ยท

1 min read

I have been working on my quiz app and learned the four pillars of oop in Dart:- abstraction, encapsulation, inheritance, and polymorphism.

Abstraction:- made different classes to manage questions and answers,

Encapsulation:- made the question list private so it can't be changed outside the question class. (used underscore)

Inheritance:- (extends keyword)

Polymorphism:- (@override and super keyword)

Completed the quiz app.

ย