首页 > [Java in NetBeans] Lesson 01. Java Programming Basics

[Java in NetBeans] Lesson 01. Java Programming Basics

这个课程的参考视频在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.
  • 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 ;

转载于:https://www.cnblogs.com/Johnsonxiong/p/9819289.html

更多相关:

  • 转自:http://stackoverflow.com/questions/8377091/what-are-the-differences-between-cv-8u-and-cv-32f-and-what-should-i-worry-about CV_8U is unsigned 8bit/pixel - ie a pixel...