I’m saving some Java objects in files. I seralize them that way : Class Timestamp.java: Class ObjId.java: CachedObj.java : The rest of my code : In another place in my code I deserialize that way : And I have a function that calculates an CachedObj object size : My question is, when I run the following code : Why are
Tag: fileinputstream
Nested While loop not counting two files correctly
I am working on a program that takes a file in from the command line. this file is then compared to a text file to see if it has certain words in it. if it does, i want it to increment a counter for each time that certain word is found. I thought I was on the right track, using