Results 1 to 2 of 2
  1. #1
    babjwu is offline Member
    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    0

    Default someone please help me!

    what should i do to define a string object??
    Last edited by babjwu; 10-28-2008 at 12:19 PM.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    You cannot define a string object like that. There is no such constructor for String class.

    Don't use reserved words(or key words, actually compiler not allowed to use keywords) for class names. It can cause lots of problems.

    Where you define 'a' 'b' and 'c'. What are those variable holds.

Posting Permissions

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