Hey all...
I'm writing my Final IT p1 Exam this friday (9/10)...
what is the best way to study the coding?
the paper is sub-divided into
1) Database programming
2) Array of objects
3) Two Dimensional Arrays
the SQL's i'm fine with.
its part 2 and 3 thats not great.
an example :
Pilots[] pi = new Pilots[15];
int numEmp = 0;
try {
Scanner inputStream = new Scanner(new FileInputStream(
while (inputStream.
String line = inputStream.
Scanner lineReader = new Scanner(line)
int e = lineReader.nextInt(
String f = lineReader.next(
String s = lineReader.next(
double hr = lineReader.nextDoub
double h = lineReader.nextDoub
lineReader.close(
pi[numEmp] = new Pilots(e, f, s, hr, h);
numEmp++;
}
inputStream.
} catch (FileNotFoundExcept
System.out.println(
System.exit(
}
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
No comments:
Post a Comment