Popular Posts
-
Now I will show you how to retrieve the data posted from a HTML file in a JSP page. Consider an html page that prompts the user to enter his...
-
Accessing the Standard CGI Variables: To build the successful web application, you often need to know a lot about the environment in which ...
-
INTRODUCTION TO 'C': C is a programming language developed at AT & T's Bell laboratories of USA in 1972.it was designed by d...
-
SQL aliases can be used with database tables and with database table columns, depending on task you are performing. SQL column aliases are u...
-
Learning about Events (Continue) Lets program the Form_Load event. "MsgBox" is Visual Basic command that launch a message box. for...
-
Steps to follow: 1. Write Person.java as shown below in Code-11.3.a under polypackage directory. (You are welcome to do this work using eit...
-
The Command Button's KeyPress, KeyDown and KeyUp Events The events that will be mentioned in the following pages are commonly used, and ...
-
The SQL AVG aggregate function selects the average value for certain table column. Have a look at the SQL AVG syntax: SELECT AVG(Column1) FR...
-
package interfaceexercise; // Define an interface with three abstract methods. // Any class that implements this interface has to // impleme...
-
We will use the Customers table to illustrate the SQL LIKE clause usage: FirstName LastName Email DOB Phone John Smith John.Smith@yaho...
Monday, February 23, 2009
LAB-1005: Java Programming Basics I
Lab exercises and homeworks:
* Things to check before you start the lab
* Chapter 3 (Class #1, Jan. 16th homework)
o Exercise 3.1: Write, compile, and run Hello Java program (30 minutes)
o Exercise 3.2: Write, compile, and run Hello Java program using NetBeans (30 minutes)
* Chapter 4 (Class #1, Jan. 16th homework)
o Exercise 4.1: Declaring, initializing, printing variables (30 minutes)
o Exercise 4.2: Declaring, initializing, printing variables using NetBeans (30 minutes)
o Exercise 4.3: Conditional operator (30 minutes)
o Exercise 4.4: Building and running AverageNumber sample program (30 minutes)
o Exercise 4.5: Building and running GreatestValue sample program (30 minutes)
* Chapter 5 (Class #2, Jan. 23rd homework)
o Exercise 5.1: Getting input from keyboard via BufferedReader class & JavaDoc Online (30 minutes)
o Exercise 5.2: Building and running LastThreeWorlds sample programming using NetBeans (30 minutes)
o Exercise 5.3: Getting input from keyboard via JOptionPane class (30 minutes)
* Chapter 6 (Class #2, Jan. 23rd homework)
o Exercise 6.1: Building and running Grades sample application (30 minutes)
o Exercise 6.2: Building and running NumWords sample application (30 minutes)
o Exercise 6.3: Building and running HundredNames sample application (30 minutes)
o Exercise 6.4: Building and running for loop application (30 minutes)
* Chapter 7 (Class #3, Jan. 30th homework)
o Exercise 7.1: Array (30 minutes)
o Exercise 7.2: Building and running DaysOfTheWeek sample application (30 minutes)
o Exercise 7.3: Building and running GreatestNumber sample application (30 minutes)
* Chapter 8 (Class #3, Jan. 30th homework)
o Exercise 8.1: Building and running CommandLine sample application (30 minutes)
* Chapter 9 (Class #4, Feb. 6th homework)
o Exercise 9.1: Class and object (30 minutes)
o Exercise 9.2: Static method and instance methods (30 minutes)
o Exercise 9.3: Static method and instance methods 2 (20 minutes)
o Exercise 9.4: Pass by value (30 minutes)
o Exercise 9.5: Pass by reference (30 minutes)
o Exercise 9.6: Comparing objects (30 minutes)
o Exercise 9.7: Scope of a variable (10 minutes)
* Chapter 10 (Class #5, Feb 13th homework)
o Exercise 10.1: Create your own class (30 minutes)
o Exercise 10.2: Overloading (30 minutes)
o Exercise 10.3: Classpath again (20 minutes)
o Exercise 10.4: Packaging (30 minutes)
* Chapter 11 (Class #6, Feb 20th homework)
o Exercise 11.1: Inheritance - Constructor (30 minutes)
o Exercise 11.2: Inheritance - Overriding (30 minutes)
o Exercise 11.3: Polymorphism (30 minutes)
o Exercise 11.4: Abstract class (30 minutes)
o Exercise 11.5: Interfaces (30 minutes)
* Chapter 12 (Class #6, Feb 20th homework)
o Exercise 12.1: Exception handling (30 minutes)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment