Jump to content


Photo

class


  • Please log in to reply
No replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 22 April 2006 - 10:20 PM

What happens in the following scenario.
For instance if I want to create a parent class, and assign it a child, and a grandchild class. I decide that I want to create for instance a specific class, and I set it to final. If someone tries to change that variable in that class later it comes up with a fatal error, but couldn't the person just jump the the parent class anyway and change it from final to public with just a little typing, if this is true what is the purpose of setting it to final when it can still be changed.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users