GithubHelp home page GithubHelp logo

ritvik_dsa_assignment1's Introduction

Firstly put main and rest of the files within same package, then compile the main.java file and you will see the desired output. Super_department file to execute according to calendar and use another Super_department_copy file if you want to see same output.

For below Problem Statement. → The assignment will contain 4 departments as four different object classes i) Super Department ii) Admin Department iii) Hr Department iv) Tech Department → Super Department class will be the superclass and all other departments must extend it. → Super department will contain 4 methods of return type String and will not accept any parameter i) departmentName ii) getTodaysWork iii) getWorkDeadline iv) isTodayAHoliday departmentName will return “ Super Department “ getTodaysWork will return “ No Work as of now” getWorkDeadline will return “ Nil “ isTodayAHoliday will return “ Today is not a holiday”

→ Admin department will contain 3 methods of return type String and will not accept any parameter i) departmentName ii) getTodaysWork iii) getWorkDeadline departmentName will return “ Admin Department “ getTodaysWork will return “Complete your documents Submission” getWorkDeadline will return “ Complete by EOD “

→ Hr department will contain 4 methods of return type String and will not accept any parameter i) departmentName ii) getTodaysWork iii) getWorkDeadline iv) doActivity

departmentName will return “ Hr Department “ getTodaysWork will return “ Fill today’s timesheet and mark your attendance” getWorkDeadline will return “ Complete by EOD “ doActivity “team Lunch” → Tech department will contain 4 methods of return type String and will not accept any parameter i) departmentName ii) getTodaysWork iii) getWorkDeadline iv) getTechStackInformation

departmentName will return “ Tech Department “ getTodaysWork will return “ Complete coding of module 1” getWorkDeadline will return “ Complete by EOD “ getTechStackInformation will return “core Java”

→ Driver class Main will be used to create objects of HrDepartment, TechDepartment, AdminDepartment → Each department will display all its functionalities. → Each department will display whether today is a holiday or not with the help of the Super Department. (SuperDepartment will act as a super class for all the departments)

Expected Output Welcome to Admin Department Complete your documents submission Complete by EOD Today is not a Holiday Welcome to HR Department team Lunch Fill today’s timesheet and mark your attendance Complete by EOD Today is not a Holiday Welcome to Tech Department Complete coding of Module 1 Complete by EOD Core Java Today is not a Holiday How to upload code in Github?

ritvik_dsa_assignment1's People

Contributors

ritvikzz45 avatar

Watchers

 avatar

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.