Company. Define the hierarchy of IT company employees. Gather employees to carry out the project with a determination of its total cost.
REQUIREMENTS.
1. Use only standard compilers and libraries.
2. When coding, conventions on the design of the code for the corresponding language should be used - code convention.
3. Use the capabilities of OOP: classes, inheritance, polymorphism, encapsulation.
4. Do not use the graphical interface! The application must be console.
5. Work with the console or the console menu should be minimal, since the MAIN OBJECTIVE of the TASK is to CHECK OOP PERCEPTION.
6. Use external data sources: files, DBMS
7. Transfer initialization data of objects using a constructor, function, or method (for example, for Java:
Student ob = new Student (456543, 19, "Smith");
Or use database repositories
8. Provide only the source code of the application. In addition, it is possible to explain in a free but concise form what was done and why.
Comment the whole code
9. Also, to complete the task, you need to study relational databases, and SQL.
10. package name kz.aitu.oop.practice.assignment4 (include sql ddl)
11. send it to github and commit link here. commit message - "My OOP assignment 4 - company
我好不容易学会了java基础,老师就又来了这种类型的题,由于语言不通,老师讲的不是很理解。
貌似是让我们使用接口,连接数据库,使用java语言导入数据,及使用preparedStatement,这些知道一点,但关于各个类接口之间的关系很混乱,不知道该怎么弄,有没有大佬可以讲解一下啊。