Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
java x 5
Member Avatar for airey1988

Hi i have created a list which reads from a text file. how can i view the contennts of the list outside of the method it was created. I have inserted my code below. [ICODE]//read Customers.txt and save in an object. List<Customer2> list = new ArrayList<Customer2>(); File file = new …

Member Avatar for giri.pankaj
0
78
Member Avatar for airey1988

Hi, i am a newbie at this and i am having problems with the following errors. U:\year 3\AssignmentFinal\Customer2.java:29: non-static method setName(java.lang.String) cannot be referenced from a static context i have inserted my code below any help would be greatly appreciated. [ICODE] // customer class import java.io.BufferedReader; import java.io.File; import java.io.FileReader; …

Member Avatar for birina
-1
993