Results 1 to 2 of 2
  1. #1
    fastut is offline Member
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    0

    Default what does the underscore mean in the declarition?

    public String _firstName;

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,365
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by fastut View Post
    public String _firstName;
    It doesn't mean anything really; an underscore is a valid character in a Java identifier name. Some people use it as an indication that this particular name (starting with an underscore) is a parameter or a member variable or a local variable or whatever.

    kind regards,

    Jos

Posting Permissions

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