在java中练习OOP的项目 [英] Projects to practice OOP in java

查看:191
本文介绍了在java中练习OOP的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经学习了Java一段时间了,并且已经掌握了语言基础知识和OOP原理。我也熟悉几个Javas内置API,所以我想在一个体面的项目上测试我的技能。



麻烦的是我完全被激励和大多数谷歌搜索的项目涉及JavaFX,Spring,JDBC等等,我还不知道还没有得到适当的插入。有没有人有任何链接/关于实现继承/抽象/多态/抽象类/接口的大型项目的想法等等?



谢谢



我的尝试:


我只是按照教程,我发现很难想到我自己的练习项目

解决方案

试试看这里:最终年度99项Java项目创意(获取帮助) Lovelycoding.org [ ^ ]


您是否已完成上的所有教程Java™教程 [ ^ ] ?如果没有,请尝试您可能感兴趣的主题。

其他需要考虑的事项:小型借阅图书馆,汽车租赁,汽车维修,地址簿等。


< blockquote>哟你知道我刚刚想到的是什么,我已经想出了这样的挑战的终极解决方案。我将使用Java为地球建模。地球充满了真实和抽象的等级结构。



它拥有政治结构,城市,城镇和村庄的国家,从总统/总理/独裁者到店员,农民和专业人士等各种角色的人开发商。它有天气和环境条件。它有道德和道德问题(可能很难编程,但值得一试)要考虑。它有一个可以广泛编目的动物王国。它具有数学属性和物理概念。尝试对整个行星进行建模不仅需要很长时间,而且随着它越来越大而变得非常复杂,从而测试我对OOP的理解可能达到最大值。



感谢您的回复,但我想我现在正在为一个项目排序。干杯

I have been learning Java for a while now and have got my head around the language basics and the principles of OOP. I am also familiar with several of Javas inbuilt APIs so I want to test my skills on a decent sized project.

Trouble is I'm totally stuck for inspiration and most Googled projects involve things like JavaFX, Spring, JDBC etc which I don't know enough about yet to get properly stuck in. Does anyone have any links to/ideas about good sized projects for practicing inheritance/abstraction/polymorphism/abstract classes/interfaces etc?

Thanks

What I have tried:

I am just following tutorials and am finding it hard to think of my own practice projects

解决方案

Try looking here: Top 99 Java Project Ideas for Final Year (Get Help) | Lovelycoding.org[^]


Have you worked through all the tutorials at The Java™ Tutorials[^] ? If not, try a subject that you are maybe interested in.
Others to consider: A small lending library, car rental, car maintenance, address book, etc.


Yo you know what I have just been thinking about this and I have come up with the ultimate solution for a challenge like this. I am going to model the Earth using Java. The Earth is full of hierarchical structures that are both real and abstract.

It has countries that have political structures, cities, towns and villages, people in all sorts of roles from President/Prime Minister/Dictator to shop assistant, farmer and professional developer. It has weather and environmental conditions. It has moral and ethical issues (that may be hard to program but it's worth a shot) to consider. It has an animal kingdom that could be broadly catalogued. It has mathematical properties and notions of physics. Attempting to model an entire planet will not only take ages but will also be extremely complicated as it grows larger and larger and thus test my understanding of OOP probably to the max.

Thanks for the few responses but I think I'm sorted now for a project. Cheers


这篇关于在java中练习OOP的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆