Thread: Classes.

Results 1 to 2 of 2
  1. #1 Classes. 
    Registered Member
    craig903's Avatar
    Join Date
    Sep 2007
    Age
    30
    Posts
    1,357
    Thanks given
    14
    Thanks received
    92
    Rep Power
    238
    Let's say you built an aplication using java. If it consisted of 100 classes but only 90 of them had been refferenced too. would the remaining 10 classes use any memory?
    Visit Rune Miracle Here
    Reply With Quote  
     

  2. #2  
    Registered Member
    Deadly Uzi's Avatar
    Join Date
    Jul 2008
    Posts
    994
    Thanks given
    177
    Thanks received
    87
    Rep Power
    362
    No, you can have like 20k lines of code, but if you don't use it, it will NOT use any memory. MAYBE a tiny bit. However it will take forever to compile

    Methods only use your memory if they are being processed...

    EDIT:

    Classes MIGHT take up space if you made an instance for them, the 'super' class has to like loop through the class or something. If you're not using a class file, don't make an instance for it...
    Attempting to develop a multi-revision library. See it on GitHub.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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