如何知道我的程序中是否需要特定的java类 [英] How to know if I need a specific java class in my program

查看:68
本文介绍了如何知道我的程序中是否需要特定的java类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是java新手,我学习了基本技能,我正在尝试开始一些小项目。我看了很多关于项目怎么样的视频,但是我很难弄明白。我搜索了很多但我无法理解。

当我正在观看视频时,导师开始使用内置的一些类和对象并且存在injavadoc。我想知道java程序员如何知道他/她完成程序所需的类或对象?有什么东西他们不会在教程中告诉学习者吗?比如stringbuilder,inputstream和bla bla bla ...

如果我正在编写代码,我怎么知道我需要什么?何时应该使用一个?如何知道某个特定班级是否符合我的课程需要?



我尝试了什么:



视频,JavaDoc,文章,备忘单和...

I'm new to java and I learned basic skills and I am trying to start some little projects. I have watched a lot of videos about project "how to's" but something is very hard for me to figure it out. And I searched a lot but I can't understand.
As I'm watching video the tutor starts using some classes and objects which are built-in and are present injavadoc. I'm wondering how a java programmer knows what class or object he/she needs for the program completion? Is there something they don't tell learners in tutorials?. things such as "stringbuilder", "inputstream" and bla bla bla...
If i'm writing a code, how would I know what I need? when should use one? how to know if a specific class does what my program need?

What I have tried:

Videos, JavaDoc, Articles, Cheat Sheets and ...

推荐答案

参见 Java™教程 [ ^ 。他们将解释基本类,并指出您可以在哪里找到更多信息。
See The Java™ Tutorials[^]. They will explain the basic classes and give pointers to where you can find further information.


这篇关于如何知道我的程序中是否需要特定的java类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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