adithya kavin

Greenhorn
+ Follow
since Nov 16, 2005
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 adithya kavin

hi ,
this is my code
FileInputStream in=new FileInputStream("Data");
ObjectInputStream ois=new ObjectInputStream(in);
Person readPersonData = (Person)ois.readObject();

while((readPersonData = (Person)ois.readObject()) != null){
System.out.println(readPersonData.toString());


}
ois.close();
while reading an object file i am getting this error
name =vino
sex=f
name =ramar
sex=m
Exception in thread "main" java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2502)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1267)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)


please help me
14 years ago
Hi friends,
Actually i started preparing for the exam only now.Can u pleae tell me how long will it take to prepare for SCJP310-025 exam.Also i need to know some sites regarding the mock test.