class properties



i have a question about this situation:

i have a class that i use that i need to know 1 piece of data that exists in
a different class. Im wondering is it wrong to add the property that i need
onto the first class instead of having to instantiate the whole other class
for a single property?

If it isn't bad, where would you draw the line on what duplicated properties
you have?

thanks for the insight


.



Relevant Pages

  • TOT: two things
    ... pleased to tell you that I needed to draw one today for the first time in 40 ... Bill ... Prev by Date: ...
    (uk.tech.digital-tv)
  • Re: click a button in a JTable
    ... it knows how to draw that particular cell, ... returned Component as an object (which is very considerate of the table ... Prev by Date: ...
    (comp.lang.java.gui)
  • RE: Automatic Redirections
    ... >> All the sudden, whenever I open a webpage, I am automatically redirected to ... It is extremely annoying. ... >> Thanks for any help or insight you can give me! ... Prev by Date: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: did the multiplication rules change!?
    ... Any insight will be very much appreciated. ... You're just seeing int overflow in the product2 line, ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Entourage deleted my accounts
    ... The database in my identity is 196MB. ... Many thanks for your insight. ... JuliaD ... Prev by Date: ...
    (microsoft.public.mac.office.entourage)