Ask Experts Questions for FREE Help !
Ask
    chandujalli's Avatar
    chandujalli Posts: 6, Reputation: 1
    New Member
     
    #1

    Jul 3, 2010, 09:00 PM
    Why in.readline() deprecated in java6.0.. What is the feature superseded it..
    Just a quick question.
    chandujalli's Avatar
    chandujalli Posts: 6, Reputation: 1
    New Member
     
    #2

    Jul 3, 2010, 09:11 PM
    Java
    How shall I update my subject..
    Am in searching for job on java platform...
    Do hel me.
    yesbeckjs's Avatar
    yesbeckjs Posts: 20, Reputation: 3
    New Member
     
    #3

    Jul 13, 2010, 06:08 PM
    If you are using the DataInputStream Class, it is suggested to use the method: BufferedReader.readLine();

    Example:

    Old way
    Code:
    DataInputStream d = new DataInputStream(in);

    New way
    Code:
    BufferedReader d = new BufferedReader(new InputStreamReader(in));

    You can read more about it here: http://download.oracle.com/docs/cd/E...putStream.html

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Readline weight loss pills- yeah or neah? [ 2 Answers ]

I have always fluxuated in weight about 10lbs. I would like a quick way to jump start my weight loss. Has anyone tried any diet pills or supplements that worked for them. I heard redline is very good. Thanks!

What is your best feature? [ 47 Answers ]

Again just for a little fun and maybe some self-awareness... I would just like to know what your best physical feature is. What part of your body do you love the most? Maybe there is more than one?:p


View more questions Search