hello im new in java and i have to do simple program and can read from txt file
ct_hunny 0 Newbie Poster
Recommended Answers
Jump to PostWhat does the text file look like?
Jump to Postyou should know the right way to do it. In catching, you should use catch
(Exception e){System.out.print(e.printStackTrace());}
Not quite. More like this;
(Exception e){e.printStackTrace();}
Jump to PostSystem.out.print(
That is not good enough for debugging. You need the whole trace, not just the message text.
All 10 Replies
thines01 401 Postaholic Team Colleague Featured Poster

joankim
ct_hunny 0 Newbie Poster

joankim
NormR1 563 Posting Sage Team Colleague

joankim
NormR1 563 Posting Sage Team Colleague

joankim
NormR1 563 Posting Sage Team Colleague

joankim
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.