You can access private variables in Java without getters from a class that's not an inner class -


this question has answer here:

i have clue of serialversionuid for, , in far don't can up. can private variable that's not used inside class. there construct or behind that? there other examples of private variables / methods not used inside same class? can access private variables in java without getters class that's not inner class, serialization does?

you can access values, , manipulate them via reflection. mechanism can check fields , invoke methods.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -