摘要: ref: http://www.studytonight.com/java/multithreading-in-java Multithreading A program can be divided into a number of small processes. Each small proc 阅读全文
posted @ 2016-06-27 00:42 morningdew 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Method Overriding between parent and child The key benefit of overriding is the ability to define method that's specific to a particular subclass type 阅读全文
posted @ 2016-06-27 00:00 morningdew 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Aggregation (HAS-A) HAS-A relationship is based on usage, rather than inheritance. In other words, class A has-a relationship with class B, if code in 阅读全文
posted @ 2016-06-26 23:28 morningdew 阅读(317) 评论(0) 推荐(0) 编辑
摘要: Inheritance (IS-A) when a class extends another another class it inherits all non private members including fields and methods. Inheritence in Java ca 阅读全文
posted @ 2016-06-26 23:24 morningdew 阅读(239) 评论(0) 推荐(0) 编辑
摘要: reference: http://www.studytonight.com/java/modifier-in-java.php Modifiers are keywords that are added to change meaning of a definition. In java, mod 阅读全文
posted @ 2016-06-26 23:12 morningdew 阅读(529) 评论(0) 推荐(0) 编辑
摘要: Garbage Collection In Java destruction of object from memory is done automatically by the JVM. When there is no reference to an object, then that obje 阅读全文
posted @ 2016-06-26 21:13 morningdew 阅读(252) 评论(0) 推荐(0) 编辑
摘要: A class can have only public or default(no modifier) access specifier. It can be either abstract, final or concrete (normal class). It must have the c 阅读全文
posted @ 2016-06-26 20:40 morningdew 阅读(282) 评论(0) 推荐(0) 编辑
摘要: In Java, Data types are classified into two categories: 1. Primitive Data Type 2. Non-Primitive Data Type there are 8 primitive data types: char boole 阅读全文
posted @ 2016-06-26 20:05 morningdew 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 参考: http://www.cnblogs.com/java-chl/p/5614940.html http://www.studytonight.com/java/component-of-java.php JVM 生命周期 程序开始执行它才运行,程序结束时它就停止。一台机器上运行几个程序就有几 阅读全文
posted @ 2016-06-26 16:09 morningdew 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 此文参考: http://www.cnblogs.com/liu-5525/p/5614463.html http://www.studytonight.com/java/abstract-class.php http://www.studytonight.com/java/java-interfa 阅读全文
posted @ 2016-06-26 15:17 morningdew 阅读(267) 评论(0) 推荐(0) 编辑