Results 1 to 7 of 7
  1. #1
    javanew is offline Member
    Join Date
    Mar 2010
    Posts
    49
    Rep Power
    0

    Default StringBuffer .. and stringtokenizer

    i got 2 questions,,

    StringBuffer s = new StringBuffer(); what is the default here , how many characters,,,

    second ,,
    pleaase write me all the constructors for StringBuffer, and StringTokenizer,,
    i got exam they are important

  2. #2
    iluxa is offline Senior Member
    Join Date
    Mar 2010
    Posts
    266
    Rep Power
    5

  3. #3
    javanew is offline Member
    Join Date
    Mar 2010
    Posts
    49
    Rep Power
    0

    Default

    just write me them,,,please

  4. #4
    m00nchile is offline Senior Member
    Join Date
    Feb 2010
    Location
    Ljubljana, Slovenia
    Posts
    470
    Rep Power
    5

    Default

    As iluxa pointed out, Suns Java API documentation contains all the answers. Try to put at least a little effort in, would you?
    Ever seen a dog chase its tail? Now that's an infinite loop.

  5. #5
    curmudgeon is offline Senior Member
    Join Date
    May 2010
    Posts
    436
    Rep Power
    4

    Default

    Quote Originally Posted by javanew View Post
    just write me them,,,please
    Nice attitude dude. Please feel free to do your own work.

  6. #6
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Quote Originally Posted by javanew View Post
    ... they are important
    No they're not. You are unlikely to need to use the StringBuffer class these days and you definitely don't need to use StringTokenizer at all.

  7. #7
    bleah's Avatar
    bleah is offline Member
    Join Date
    May 2010
    Posts
    13
    Rep Power
    0

    Default

    StringTokenizer is a legacy class and laziness is not the solution.
    Last edited by bleah; 05-20-2010 at 01:57 AM.

Similar Threads

  1. How to do this with StringBuffer???
    By mlibot in forum New To Java
    Replies: 2
    Last Post: 03-24-2010, 12:40 AM
  2. Replies: 3
    Last Post: 03-04-2009, 06:03 AM
  3. Replies: 1
    Last Post: 03-03-2009, 05:27 AM
  4. Should I use StringBuffer?
    By GenkiSudo in forum New To Java
    Replies: 7
    Last Post: 09-21-2008, 12:39 PM
  5. StringBuffer
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-08-2007, 08:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •