[Java in NetBeans] Lesson 01. Java Programming Basics
生活随笔
收集整理的這篇文章主要介紹了
[Java in NetBeans] Lesson 01. Java Programming Basics
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
這個課程的參考視頻在youtube。
? ? 主要學(xué)到的知識點有:
- Create new project, choose Java Application.
- one .jar file/ package(.jar name with the same as package), one package can contains mutiple .java files.
- Comment mutiple lines by using "/* */"; comment one line by using "//"
/* * This is example to comment mutliple lines */// This is one line comment
?
- A class is the template from which objects are created.
- Object: Instance of a class.
- public can be accessed by other class and private can not.
- static means that you can use it without define it first. (also allow method to been used by other class without define an object)
- void mens return nothing, like in C.
- Statements should end with ;
轉(zhuǎn)載于:https://www.cnblogs.com/Johnsonxiong/p/9819289.html
總結(jié)
以上是生活随笔為你收集整理的[Java in NetBeans] Lesson 01. Java Programming Basics的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: layui上传图片接口
- 下一篇: 《旅次景空寺宿幽上人院》第八句是什么