This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Learn Java with Math: Using Fun Projects and Games and have Ron Dai on-line!
See this thread for details.
Win a copy of Learn Java with Math: Using Fun Projects and Games this week in the Beginning Java forum!

afrozkhan khan

Greenhorn
+ Follow
since Feb 05, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by afrozkhan khan

hallo every body
from where i can get the list of the examination center for scjp 1.4 in india.
please give me the resources.
thanks in advance
afroz khan
thanks dan,
it was a good link, i my purpose was solved.
dan i have just started my prep for scjp1.4 , and i need your guidance.
any way thanks for the reply
afroz khan
thanks jassica,
these links were very helpfull,
i have just started my preperation from Khalid book,
and i need you guidance,
any way
thanks for the reply
afroz khan
India
thanks jassica,
these links were very helpfull,
i have just started my preperation from Khalid book,
and i need you guidance,
any way
thanks for the reply
afroz khan
India
thanks dan,
its a wonderfull site,
dan i have just started my preperation for scjp1.4,
and i need your guidance,
so please guide me.
thanks for replying.
afroz khan
hi! EVERY BODY
please tell me the resources where i can get topic wise mock test, like quesions only on thread, io etc.
thanks
afroz khan
hallo every body
tell me are these topics in SCJP2(1.4).
please tell what all packages are there in the exam
thank you
b bye
afroz khan
hi !
everybody
can you people tell me the complete,detailed sylabbus for the SCJP2 1.4 exam.
because i am very much confused about what topics are there and what are not
please do reply
to this, as it will help many people like me
thanks in advance
b bye
afroz khan
congratulations chaitanya.
thats all the result of hard work , you have put in.
please stay connected to javaranch , and help people who have just started the preperation for SCPJ2 exam.
congratulations ones agin.
b bye
afroz khan
16 years ago
hi!
why the below code gives an error (variable fin not inetialized.) if i comment lines marked //(1) and //(2) .
======================================
import java.io.*;
class filerd
{
public static void main(String s[]) throws IOException
{

FileInputStream fin ;
int i;
try
{
fin = new FileInputStream(s[0]);
}
catch(FileNotFoundException e)
{
System.out.println("file not found");
return;// (1)
}
catch(ArrayIndexOutOfBoundsException e)
{
System.out.println("Usage: filerd filename");
return;// (2)
}

do
{
i = fin.read();
if ( i != -1 ) System.out.print( (char) i );
}
while ( i != -1);
}
}