码迷,mamicode.com
首页 > 编程语言 > 详细

[Java in NetBeans] Lesson 01. Java Programming Basics

时间:2018-10-19 23:47:20      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:get   app   muti   instance   知识点   The   efi   this   ica   

这个课程的参考视频在youtube

    主要学到的知识点有:

  1. Create new project, choose Java Application.
  2. one .jar file/ package(.jar name with the same as package), one package can contains mutiple .java files.
  3. 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.
  • Objects is instances 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. 
  • void mens return nothing, like in C.
  • Statements should end with ;

[Java in NetBeans] Lesson 01. Java Programming Basics

标签:get   app   muti   instance   知识点   The   efi   this   ica   

原文地址:https://www.cnblogs.com/Johnsonxiong/p/9819289.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!