jack_ie's Profile
Reputation: -1
Dishonored
- Group:
- Active Members
- Active Posts:
- 49 (0.04 per day)
- Joined:
- 24-November 09
- Profile Views:
- 855
- Last Active:
Dec 01 2012 06:13 PM- Currently:
- Offline
Previous Fields
- Country:
- Who Cares
- OS Preference:
- Linux
- Favorite Browser:
- FireFox
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- XBox
- Your Car:
- Suzuki
- Dream Kudos:
- 0
Latest Visitors
-
macosxnerd101 
01 Dec 2012 - 10:07 -
modi123_1 
29 Feb 2012 - 14:53
Posts I've Made
-
In Topic: Saving Abstrace, ToString To File
Posted 1 Dec 2012
Do i need to have an StaffList Lenght to String ?
to get this Working as i cant figure out how to get this working -
In Topic: Saving Abstrace, ToString To File
Posted 1 Dec 2012
i dont have an StaffList lengthToString() method..
i was trying all different types of ways, i forgot to cut that code out
out.write(StaffList.lengthtoString()); -
In Topic: Array List to File
Posted 17 Nov 2012
OK thank you, I was Kinda Guessing it was calling the Withdraw and Deposit every time i ran it,
SO i move the Withdraw and Deposit
into the Else. and its working fine,, it was hitting me in the face for about 10 mins.. -
In Topic: Array List to File
Posted 17 Nov 2012
OK i got the Array to save to a .DAT file,
No Errors or anything,
But when i run it for the first time its giving me this Output:
0:1200.0
Expected: 1200
1:1500.0
Expected: 1500
2:4000.0
Expected: 4000
3:-3000.0
Expected: 3000
Thats all good but when i try and Read it back in,
its giving me
0:1400.0
Expected: 1200
1:1000.0
Expected: 1500
2:5000.0
Expected: 4000
3:-4000.0
Expected: 3000
And if run it again
0:1600.0
Expected: 1200
1:500.0
Expected: 1500
2:6000.0
Expected: 4000
3:-11000.0
Expected: 3000
Is this Normal ? -
In Topic: Array List to File
Posted 16 Nov 2012
ok,
i added
public class Bank implements Serializable
{
/**
*
*/
private static final long serialVersionUID = 1L;
getting
Exception in thread "main" java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: Bank
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at BankTester.main(BankTester.java:39)
Caused by: java.io.NotSerializableException: Bank
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at BankTester.main(BankTester.java:72)
Seems to be Something wrong with the Write Object..
My Information
- Member Title:
- D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
- Interests:
- VB, HTML5, C++
- Years Programming:
- 2
Contact Information
- E-mail:
- Private
Friends
jack_ie hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
jack_ie has no profile comments yet. Why not say hello?