Code Monkey home page Code Monkey logo

dart-flutter-beginning's People

Contributors

tjclick avatar

Watchers

 avatar

dart-flutter-beginning's Issues

Dart Class and Inheritance (Parents, Children, Method, Property, Constructor)

void main() {
// 자녀로 일하심(부모의 기름부으심)
GodofSons geonu = GodofSons('"윤건우"','11', '"논현초등학교 학생"');
// 자녀의 열매
geonu.fnWorking();
geonu.fnAge('"Male"');
geonu.personCapacity('"Language, Art, History"');

print('-------------------------------------------------------');

GodofSons seung = GodofSons('"윤승용"','54', '"모비오스 영업팀장"');
seung.fnWorking();
seung.fnAge('"Male"');
seung.personCapacity('"DART, FLUTTER, ORACLE Export"');

print('-------------------------------------------------------');

GodofSons kyung = GodofSons('"이윤경"','49', '"백석대학교 상담대학원생"');
kyung.fnWorking();
kyung.fnAge('"Female"');
kyung.personCapacity('"Spirit, Prayer, Exam"');

}

// 부모 클라스 생성
class GodFather {
// 부모의 연합 변수
final String name;
final String age;
final String working;

// 부모의 연합 생성자
GodFather(this.name, this.age, this.working);

// 부모의 은사 함수
void fnWorking() {
print('우리 가족중에 ${this.name}는 ${this.working} 입니다');
}

// 부모의 은사 함수
void fnAge(String sex) {
print('우리 가족중에 ${this.name}는 ${this.age}살 ${sex}입니다');
}
}

// 자녀 클라스 생성
class GodofSons extends GodFather {
// 자녀의 부모 연합 소통
GodofSons(
String name,
String age,
String working,
// 능력의 전달되는 부모와의 연합 생성
) : super(name, age, working);

// 자녀 은사 함수
void personCapacity(String talent){
print('하나님께서 주신 개인 은사는 ${talent} 입니다');
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.