随笔分类 - 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
阅读全文
摘要:Exceptions An exception or exceptional event is an event that occurs during the execution of a program that disrupts the normal flow of instructions.
阅读全文
摘要:Generic Classes and Case Study ArrayList is an implementation of a growable array in Java - java.util.ArrayList ArrayList uses to store objects Castin
阅读全文
摘要:Abstract, Interface and Polymorphism Abstract Methods Methods that do not have implementation (body) To create an abstract method, just write the meth
阅读全文
摘要:Inheritance and Scope Inheritance: Objects that are derived from other object "resemble" their parents by inheriting both state (fields) and behaviour
阅读全文
摘要:References vs Values •Primitive types are basic java types –int, long, double, boolean, char, short, byte, float –The actual values are stored in the
阅读全文
摘要:Object Encapsulation and References Object-oriented languages are designed to facilitate structuring code at high levels of abstraction. One of the ke
阅读全文
摘要:Objects and Classes Objects-Oriented Programming Programming using objects An object represents an entity in the real world Objects have two parts: St
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号