Java Notes

程序段:

Package

Import

Public Class

Other Class


如何声明常量:

final 。。。||  。。。


Switch怎么用


方法重载:同一个类里有不同的重名方法

方法名一样 变量类型/个数    不一样


设计单态对象





/**

* This file is using the first 11 digits of UPC calculating the 12th UPC code.

* @author Jiming Li

* My andrew ID is jimingli.

*/


/**

    * This function is used for calculating the 12th UPC code.

    * @param args program arguments

    */



什么是OOP:



默认的,也称为 default,在同一包内可见,不使用任何修饰符。

私有的,以 private 修饰符指定,在同一类内可见。

共有的,以 public 修饰符指定,对所有类可见。

受保护的,以 protected 修饰符指定,对同一包内的类和所有子类可见。


ARRAY和ARRAYLIST的区别:

http://blog.qianlicao.cn/translate/2016/03/09/array-vs-arraylist/


buffer类

https://colobu.com/2014/10/20/java-buffer-basic/


comparator 用法

https://blog.csdn.net/u012250875/article/details/55126531


Java Swing Interface 教程

http://zetcode.com/tutorials/javaswingtutorial/


Java 面试 汇总

https://blog.csdn.net/jackfrued/article/details/44921941

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容