salaccristineit134a.blogspot.com
IT134A_DDS: Iterators/Arraylist
http://salaccristineit134a.blogspot.com/2009/03/iteratorsarraylist.html
Tuesday, March 3, 2009. Programmer: Cristine A. Salac . 160; Program Name: Iterate through elements Java ArrayList using Iterator . 160; Date Started : March 3,2009 . 160; Date Finished: March 3,2009 . 160; Purpose: To create java code using iterator and arraylist . Import java.util.Iterator;import java.util.ArrayList;. Public class IterateThroughArrayListUsingIteratorExample {. 160; public static void main(String[] args) {. 160; . 160; ArrayList tin = new ArrayList(); . 160; tin.add("math"); .
ramosjeanneit134.blogspot.com
IT134A_DDS: March 2009
http://ramosjeanneit134.blogspot.com/2009_03_01_archive.html
Monday, March 23, 2009. Date started: march 23, 2009 . Date ended: march 24, 2009 . Purpose: manipulate String.*/. Import java.util.*; . Import java.io.*; . Public class nameEcho { . Public static void main(String[] args) throws IOException . 160;{ . 160; String yourName; . 160; String firstName; . 160; String lastname; . 160; System.out.println("Enter your name:"); . 160; Scanner input = new Scanner(System.in); . 160; yourName = input.nextLine(); . 160; } . 160; {.
ramosjeanneit134.blogspot.com
IT134A_DDS: OBJECTS IN THE DIRECT CLOTHING CASE STUDY
http://ramosjeanneit134.blogspot.com/2009/03/objects-in-direct-clothing-case-study.html
Monday, March 9, 2009. OBJECTS IN THE DIRECT CLOTHING CASE STUDY. 160;int CustomerID=0;. 160;String Name=" ";. 160;String Address=" ";. 160;int PhoneNumber=00000000000;. 160;String EmailAddress=" ";. 160;int Order=0;. 160;public void displayCustomerInformation(). 160;System.out.println("CustomerID: " getCustomerID() ;. 160;System.out.println("Name: " getName() ;. 160;System.out.println("Address: " getAddress() ;. 160;System.out.println("PhoneNumber: " getPhoneNumber() ;. 160;public int getCustomerID().
salaccristineit134a.blogspot.com
IT134A_DDS: Direct Clothing Case Study by: Salac, Cristine
http://salaccristineit134a.blogspot.com/2009/02/direct-clothing-case-study-by-salac.html
Monday, February 9, 2009. Direct Clothing Case Study by: Salac, Cristine. Programmer: Cristine A. Salac. Program Name:Catalog class (Direct Clothing Case Study). Program Purpose:To create a code for the purpose of our midterm exam. Private int shirtID;. Private double price;. Private String color;. Private String description;. Private int quantityinstock;. Public Catalog(int s, double p, String c, String d, int q). System.out.println("Here are the info of our catalog:);. Programmer: Cristine A. Salac.
salaccristineit134a.blogspot.com
IT134A_DDS: IT134 EXERCISES
http://salaccristineit134a.blogspot.com/2009/03/it134-exercises.html
Thursday, March 19, 2009. Programmer: Cristine A. Salac. Program Name: Word Reverser(exer 1). Program Purpose: to create a program in a sentence from the user and prints it out with each word reversed, but with the words punctuation in the original order. Import javax.swing.*;. Import java.util.Scanner;. Import java.io.*;. Public class ReverseSent {. Public static void main(String[] args) throws IOException. String a=JOptionPane.showInputDialog("Enter Name: ");/ ask input from the user. End of main method.
agapaynerissait134.blogspot.com
IT134A_DDS: WORD REVERSER
http://agapaynerissait134.blogspot.com/2009/03/word-reverser.html
Friday, March 20, 2009. Instructor: Mr. Dony Dongiapon. Description:To reverse the phrase being enter by the user without changing orginal position of the words. Import java.util.*;. Import javax.swing.*;. Public class Reverser {. Public static void main(String[] args){. String name=(JOptionPane.showInputDialog("Enter phrase:") ;/. StringTokenizer tokens = new StringTokenizer(name);/ use StringTokenizer to separate each word. String element = tokens.nextToken();. Subscribe to: Post Comments (Atom).
agapaynerissait134.blogspot.com
IT134A_DDS: HELLO
http://agapaynerissait134.blogspot.com/2009/03/hello.html
Friday, March 20, 2009. Instructor: Mr. Dony Dongiapon. Description:To print message what is being enter by the user. Import javax.swing.*;/ java package. Public class Greeting {. Public static void main(String[]args){. String name=(JOptionPane.showInputDialog("Enter Greeting:") ;/ ask for greeting. JOptionPane.showMessageDialog(null,name,"Print Output",JOptionPane.INFORMATION MESSAGE);/ print the greeting in the dialog box. Subscribe to: Post Comments (Atom). Direct Clothing Case Study by Agapay, Nerissa.
agapaynerissait134.blogspot.com
IT134A_DDS: NAME ECHO
http://agapaynerissait134.blogspot.com/2009/03/name-echo.html
Friday, March 20, 2009. Instructor: Mr. Dony Dongiapon. Description:To capitalize the second name enter by the user. Import javax.swing.*;. Import java.io.*;. Public static void main(String[] args)throws StringIndexOutOfBoundsException{. String name=(JOptionPane.showInputDialog("Enter your name:") ;/ ASK THE USER. Int c=name.indexOf(" ");. Int a=c 1;. String name2=name.substring(a,name.length() ;. String output = name.substring(0,c);. Catch(StringIndexOutOfBoundsException index){/ error handling.
agapaynerissait134.blogspot.com
IT134A_DDS: February 2009
http://agapaynerissait134.blogspot.com/2009_02_01_archive.html
Wednesday, February 4, 2009. Programmer: Nerissa Agapay. 160; Program name: Cube. 160; Subject: IT134 Computer Programming 3. 160; Instructor: Mr. Dony Dongiapon. 160; Date Started: 02/04/09. 160; Date Finished: 02/04/09. Import java.util.Scanner;. Public class Cube {. 160; Scanner scan = new Scanner(System.in);. 160; . 160; / fields. 160; private double width;. 160; private double height;. 160; private double length;. 160; . 160; }.