Online Programming Server

Login

Login with facebook [?]

Facebook

Tutorial

You are here: Tutorials >> Basic >> Java >> Introduction to Computing Using Java

Tutorials

Tutorial ID Title Content Time Added
39 CSC1130S - Lecture 0: About The Course Course Objective With an assumption of stronger programming background students: To understand the von Neumann architecture and the sto... 2012-04-16 02:31:59
40 CSC1130S - Lecture 0: Introduction to Computing What is a Computer? Computer Device capable of performing computations and making logical decisions Super computers, PC, mobile phones... 2012-04-16 02:38:04
41 CSC1130S - Lecture 1a: Introduction to Java Hard and Soft Physical devices comprising a computer system are referred to as hardware. Computer programs that run on a computer are re... 2012-04-16 02:43:58
42 CSC1130S - Lecture 1b: First Java Program The First Java Program Type all carefully and save it to a file named Welcome.java class Welcome { /* The Welcome Program ------------... 2012-04-16 02:47:31
43 CSC1130S - Lecture 2a: Java Language Basics Common Syntax / Grammar Notations Arrow-bracketed item <someName> or <someName> Fill in this blank WITHOUT the arrows This ... 2012-04-16 02:51:17
44 CSC1130S - Lecture 2b: More about Primitive Typ... Default Type of Floating-point Number Literals Floating-point Number literals are considered to be of type double by default. double d1... 2012-04-16 02:54:26
45 CSC1130S - Lecture 3: Boolean Boolean/Truth/Logic Processing 布林(布爾)/真值/邏輯運算 A proposition may be true, false or undetermined, e.g. true/false que... 2012-04-16 02:59:18
46 CSC1130S - Lecture 3a: Branching: if and if/else Branching/Selection Apartfromsequentialexecution,branchingis another important programming concept. It makes our programs go through dif... 2012-04-16 03:01:13
47 CSC1130S - Lecture 3b: Repetition: for loop Flow of Control Sequential Instructions are executed one-by-one. Branching / Selection There are multiple paths going to the same des... 2012-04-16 03:04:28
48 CSC1130S - Lecture 4a: Method and Object Divide-and-Conquer A small set of instructions/ statements can handle a small programming task. However, what if a programming task of o... 2012-04-16 03:06:41
49 CSC1130S - Lecture 4b: More about OOP: static v... Methods: Performing Tasks Class Methods static a single copy Instance Methods non static a copy for EACH OBJECT 2012-04-16 03:08:51
50 CSC1130S - Lecture 5a: Object Reference Object Reference Like a call number in the library. A call number refers to a real/physical book object. No matter how many times you ... 2012-04-16 03:10:54
51 CSC1130S - Lecture 5b: File and I/O Keep Information Non-volatile Modern computers are electronic. Without power supply → Data Loss! To keep data non-volatile, save it t... 2012-04-16 03:13:17
52 CSC1130S - Lecture 5c: Redirecting System.out System Object References System.out is a class field. It is an object reference of type PrintStream It is for outputting text to the co... 2012-04-16 03:17:48
53 CSC1130S - Lecture 6a: Exception Handling Exception (例外/情況/鑊) When running a program, there may be unexpected conditions or errors. E.g. Keyboard cable damaged by mice... 2012-04-16 03:20:12
54 CSC1130S - Lecture 6b: Packages File System – Directory / Folder There are normally thousands of files accessible from your computer. They are organized into director... 2012-04-16 03:22:28
55 CSC1130S - Lecture 7a: More about loop Dissecting the for Loop Again Execute the starting part (start). Check the ending condition (check). Execute the loop body (body_stateme... 2012-04-16 03:25:31
56 CSC1130S - Lecture 7b: Character and switch Successive else-if’s char grade = 'C'; double GPA; if (grade == 'A') GPA = 4.0; else if (grade == 'B') GPA = 3.0; else if (grade == 'C'... 2012-04-16 03:28:23
57 CSC1130S - Lecture 8a: Array of Table Array If we need 3 integer variables, we type: int i, j, k; If we need 1000 integer variables...?! we want to use an index to access v... 2012-04-16 03:32:57
58 CSC1130S - Lecture 9a: String Data Structure With the 8 primitive types, we can only store limited kinds of data. With the class and object concept, we can create and... 2012-04-16 03:36:43
59 CSC1130S - Lecture 9b: World Wide Web Preface Since this is NOT an Internet course... We will skip some of the details... For enthusiastic learners, some hidden slides in thi... 2012-04-16 03:38:09
60 CSC1130S - Lecture 9c: World Wide Web (2) Class URL Provided in the package java.net. Two available constructors: URL link = new URL(String address); URL link = new URL(URL base... 2012-04-16 03:41:03
61 CSC1130S - Lecture 10a: Extends and Inheritance Soul of Object Oriented Programming Encapsulation Protecting Data and Method: Class and Object Access Control Modularity Structured C... 2012-04-16 03:43:45
62 CSC1130S - Lecture 10b: Privacy and Super What’re Inherited Exactly? public/protected static/instance fields/methods OctopusOctopusWatch public public useValue() useValue()... 2012-04-16 03:49:13
63 CSC1130S - Lecture 10c: Polymorphism Introduction to Computing Using Java Advanced OO: Polymorphism Abstraction through Interface Miscellaneous Topics about OO in Java 2012-04-16 03:51:06
64 CSC1130S - Lecture 11a: GUI Overview Human Computer Interface Graphical User Interface Basic Elements Event Driven Model Trigger and Callback 2012-04-16 03:54:52
65 CSC1130S - Lecture 11b: Event Handling Michael Said... GUI components are objects. We set colour and size to them. We add listener object(s) to them (Registration). Listener o... 2012-04-16 04:00:37
66 CSC1130S - Lecture 12a: Java Applet Java Applet Executing our Java program everywhere Java Applet (Application-let [small/mini]) Applet in Action Transformation Mix and Mat... 2012-04-16 04:02:00
67 CSC1130S - Lecture 12b: More about Applet Overview Parameter Passing from HTML Limitations Security Issues Compare with Javascript Image and Sound with Applet 2012-04-16 04:03:33
80 CSC1130S - Collections in Java Collections in Java Arrays Has special language support Iterators Iterator (i) Collections (also called containers) Collection (i) ... 2012-04-17 03:02:50

Search All Tutorials

Keyword:
Categories:
Include Subcategories