Results 1 to 4 of 4
  1. #1
    harshakantha is offline Member
    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0

    Question Constant Variables

    Hello friends!
    can we create Constants for instance and class variables, but not for local variables??
    is this statement true of false?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    First tell us what you think. This isn't a homework service.

    Recommended reading: How to ask questions the smart way

    db

  3. #3
    harshakantha is offline Member
    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0

    Default

    I found the answer by myself, answer is "true"
    Thank you.

  4. #4
    harshakantha is offline Member
    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0

    Default

    Dear friend could you please tell me a way to get a help for complete my home work by using this java-forums

Similar Threads

  1. constant variables questions
    By sgthale in forum New To Java
    Replies: 3
    Last Post: 05-06-2011, 06:34 AM
  2. Replies: 3
    Last Post: 01-03-2011, 04:48 PM
  3. switch() don't work with constant
    By jarek in forum Advanced Java
    Replies: 3
    Last Post: 11-19-2010, 09:59 AM
  4. static constant and performance
    By felixtfelix in forum New To Java
    Replies: 2
    Last Post: 08-31-2010, 02:43 PM
  5. Constant size for JTextArea
    By itaipee in forum AWT / Swing
    Replies: 1
    Last Post: 12-30-2008, 05:12 PM

Tags for this Thread

Posting Permissions

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