Turn on thread page Beta
    Offline

    2
    ReputationRep:
    (Original post by alexsheppard11)
    but we want to manually delete it

    e.g.
    we have a database, a table class and a record class.
    we have to delete a record from within the record class (which is causing the problem)
    I see. What you actually want to do is remove the reference to it from the table class (however you store them)
    The reason java doesn't allow forced object destruction is because then your program ***** up if you try and access a reference to it.
    Once an object cannot be accessed (i.e. nothing has a reference to it) it will be collected.
    Offline

    1
    ReputationRep:
    (Original post by Chrosson)
    I see. What you actually want to do is remove the reference to it from the table class (however you store them)
    The reason java doesn't allow forced object destruction is because then your program ***** up if you try and access a reference to it.
    Once an object cannot be accessed (i.e. nothing has a reference to it) it will be collected.
    we have stopped now, thanks for the help
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    :wavey:
    Offline

    1
    ReputationRep:
    (Original post by spikeymike)
    :wavey:
    ahoy!
    Offline

    14
    ReputationRep:
    Few links of interest: :p:

    For Alex: http://news.bbc.co.uk/1/hi/technology/8522952.stm

    And for everyone else:
    http://news.bbc.co.uk/1/hi/technology/8521598.stm
    http://news.bbc.co.uk/1/hi/technology/8521580.stm
    Offline

    1
    ReputationRep:
    ah yes, i made that laptop:awesome:
    Offline

    1
    ReputationRep:
    any ideas?!

    http://www.thestudentroom.co.uk/show...2#post23857582
    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    What a rip off! At least, if the support is compulsory. Sounds like they're tricking people into spending money on support that they might not even need. Is the hardware free? :erm:
    Offline

    1
    ReputationRep:
    (Original post by secretmessages)
    What a rip off! At least, if the support is compulsory. Sounds like they're tricking people into spending money on support that they might not even need. Is the hardware free? :erm:
    i believe you have to buy the laptop too!
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    Alex = fail. See what I did there? :sexface:
    Offline

    1
    ReputationRep:
    (Original post by spikeymike)
    Alex = fail. See what I did there? :sexface:
    i disagree
    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    (Original post by spikeymike)
    Alex = fail. See what I did there? :sexface:
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    :lol:
    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    (Original post by spikeymike)
    :lol:
    Perfect thread for you :teeth:
    Spoiler:
    Show
    I jest, I jest
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    (Original post by secretmessages)
    Perfect thread for you :teeth:
    Spoiler:
    Show
    I jest, I jest
    :hand:
    Offline

    14
    ReputationRep:
    TSR Tech Help Desh 2.0! :rofl:
    • TSR Group Staff
    Offline

    20
    ReputationRep:
    TSR Group Staff
    Tech Society 2.0 -- Because sometimes even the tech helpers need help.
    Spoiler:
    Show
    Psychological help. :teehee:
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    What is with the recent surge in:

    1) Lack of C: space
    2) Laptop threads

    • PS Helper
    • Wiki Support Team
    Offline

    14
    PS Helper
    Wiki Support Team
    I was going to make a F Yea image :holmes:. I will do it now.

    Shame I can't draw.
    • PS Helper
    • Thread Starter
    Offline

    0
    ReputationRep:
    PS Helper
    (Original post by secretmessages)
    I was going to make a F Yea image :holmes:. I will do it now.

    Shame I can't draw.
    Like I say... do it for the lulz. :teeth:
 
 
 
Poll
How are you feeling in the run-up to Results Day 2018?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.