随笔分类 -  CS2312 Problem Solving & Programming

摘要:Input/Output Streams Stream: an object that either delivers data to its destination (screen, file, etc.) or that takes data from a source (keyboard, f 阅读全文
posted @ 2018-04-16 00:24 Charonnnnn 阅读(403) 评论(0) 推荐(0)
摘要:Exceptions An exception or exceptional event is an event that occurs during the execution of a program that disrupts the normal flow of instructions. 阅读全文
posted @ 2018-04-14 18:52 Charonnnnn 阅读(173) 评论(0) 推荐(0)
摘要:Generic Classes and Case Study ArrayList is an implementation of a growable array in Java - java.util.ArrayList ArrayList uses to store objects Castin 阅读全文
posted @ 2018-04-14 18:38 Charonnnnn 阅读(144) 评论(0) 推荐(0)
摘要:Abstract, Interface and Polymorphism Abstract Methods Methods that do not have implementation (body) To create an abstract method, just write the meth 阅读全文
posted @ 2018-02-24 11:08 Charonnnnn 阅读(227) 评论(0) 推荐(0)
摘要:Inheritance and Scope Inheritance: Objects that are derived from other object "resemble" their parents by inheriting both state (fields) and behaviour 阅读全文
posted @ 2018-02-23 22:55 Charonnnnn 阅读(213) 评论(0) 推荐(0)
摘要:References vs Values •Primitive types are basic java types –int, long, double, boolean, char, short, byte, float –The actual values are stored in the 阅读全文
posted @ 2018-02-09 14:32 Charonnnnn 阅读(236) 评论(0) 推荐(0)
摘要:Object Encapsulation and References Object-oriented languages are designed to facilitate structuring code at high levels of abstraction. One of the ke 阅读全文
posted @ 2018-02-09 14:31 Charonnnnn 阅读(147) 评论(0) 推荐(0)
摘要:Objects and Classes Objects-Oriented Programming Programming using objects An object represents an entity in the real world Objects have two parts: St 阅读全文
posted @ 2018-02-09 13:02 Charonnnnn 阅读(218) 评论(0) 推荐(0)
摘要:Computer program: A list of instructions(code) meant to be followed by a computer Executing a program: Programs must first be converted into machine c 阅读全文
posted @ 2018-01-22 12:01 Charonnnnn 阅读(318) 评论(0) 推荐(0)