Hi
I want to store variables in a text file (not as an object).my problem is that the class contains ArrayList of another type ,and I wrote one method to store the member variables of my class in "file.txt" ,but I don't really know how to write the ArrayList variable in the same file (actually in the same line in that file).
I think of writting another method that write the arrayList variable but how to point to the same file and to the appropriate line? and what about reading that field?
creative_m 0 Light Poster
NormR1 563 Posting Sage Team Colleague
creative_m 0 Light Poster
NormR1 563 Posting Sage Team Colleague
creative_m 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.