Forum: Java Jan 12th, 2007 |
| Replies: 5 Views: 1,406 Re: Improvement in the phone book program Thankyou so much masijade. i appreciate your help. i am learning Java by myself its been like 4 months and have developed a good idea of OO programming. the author never told us to use any arraylist... |
Forum: Java Jan 12th, 2007 |
| Replies: 5 Views: 1,406 Re: Improvement in the phone book program ok i got it. i realized later on what you are trying to say. here is my new code.
import java.util.Scanner;
import java.util.List;
class PhoneEntry
{
String firstName;
String lastName; //... |
Forum: Java Jan 11th, 2007 |
| Replies: 5 Views: 1,406 |
Forum: Java Jan 11th, 2007 |
| Replies: 5 Views: 1,406 Improvement in the phone book program my program will ask the user his last name and his first name. after that it will do a search to see if the last name and firstname matches with the list. if it does then it prints out the phone... |
Forum: Java Dec 15th, 2006 |
| Replies: 6 Views: 1,591 Re: Switch and Cases dont you think if he wants to go in graphics designer field y in the world he wants to learn java? all he want to do is do his homework. |
Forum: Java Dec 14th, 2006 |
| Replies: 6 Views: 1,591 Re: Switch and Cases NEVER TREAT A NEWBIE LIKE THAT
import java.util.Scanner;
class someProggram {
public static void main(String args[]) {
Scanner myScanner = new Scanner (System.in);
int sum = 0, average,... |
Forum: Java Oct 22nd, 2006 |
| Replies: 18 Views: 48,541 Re: Compile Java ok THIS WILL WORK FOR SURE.
delete everything and go to this download page and download the j2sdk1.4.2_12 version for windows.
http://java.sun.com/j2se/1.4.2/download.html
Then download this... |
Forum: Java Oct 22nd, 2006 |
| Replies: 1 Views: 927 help needed 3 errors hi. well can anyone please tell me y am i getting this error and how can i get rid of it..
import java.io.RandomAccessFile;
import java.io.IOException;
import java.util.StringTokenizer;
import... |
Forum: Java Sep 29th, 2006 |
| Replies: 0 Views: 901 Enocde a char into Hammingcode Hi all. i am new in this forum. i just recently bought a book Java how to program and was on chapter 2 just the basic programming until i came up with an assignment to encode a character into hamming... |