Search:

Type: Posts; User: whiteflags

Search: Search took 0.03 seconds.

  1. Replies
    20
    Views
    2,846

    But you didn't use polymorphism, so sorry if it's...

    But you didn't use polymorphism, so sorry if it's really my fault that you demonstrated so little.
  2. Replies
    20
    Views
    2,846

    Well that's a crap way to demonstrate...

    Well that's a crap way to demonstrate polymorphism, since that's not polymorphic at all.

    Imagine two classes to represent the time, TwelveHourClock and TwentyFourHourClock, related through the...
  3. Replies
    20
    Views
    2,846

    I find it weird though that when you essentially...

    I find it weird though that when you essentially win no attempt is made to communicate the fact to the outside and your object just dies.

    You should let the scope that created your object be...
  4. Replies
    20
    Views
    2,846

    Well when you're talking about access do you mean...

    Well when you're talking about access do you mean you want to not have objects of specific classes or that they shouldn't be derived from? Because there are different ways.

    If class A should not...
Results 1 to 4 of 4