Search:

Type: Posts; User: cooljava50544

Search: Search took 0.28 seconds.

  1. What is the purpose for declaring things private.

    I have been learning about object-orientated programming for the past few days. I am not sure why instance variables are declared private, so could someone explain the purpose? Thank you.
  2. Re: I need help with my Business Application

    Thanks!
  3. Re: I need help with my Business Application

    Done.
  4. I need help with my Business Application

    So this application gets input from the user and converts it into a string. It then uses various methods to set instance variables of this class and ends up printing those classes to display...
  5. Replies
    8
    Views
    32

    Re: What is an object's identity?

    So would you agree that an object's identity is it's reference value to the reference value to its state or value such as a String's text?
  6. Replies
    8
    Views
    32

    Re: What is an object's identity?

    "All object variables are reference types, which mean they don't actually contain the data like primitive data types do. Instead, they point to the data, which is another an other area of internal...
  7. Replies
    8
    Views
    32

    Re: What is an object's identity?

    It is from a book called murach's Java Programming.
  8. Replies
    8
    Views
    32

    What is an object's identity?

    I am not sure if an object's identity is it's location in the internal memory or a reference value that points towards its state.
    Could someone please explain what it actually is?
  9. Using BigDecimal for Mathematical Formulas

    I am simply confused on how to convert the equation below for bigDecimal objects. I have already tried this, and this and the output is really weird once I call the method.
    The first block of code...
Results 1 to 9 of 9