How to make private fields really safe? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

How to make private fields really safe?

The code shows a small example how to get access to a private field. I am wondering if it would be possible to avoid getting access via reflection. https://code.sololearn.com/cp86NFcGpqUe/?ref=app

7th Jun 2021, 5:20 PM
Denise RoƟberg
Denise RoƟberg - avatar
3 Respostas
7th Jun 2021, 6:52 PM
TheWhĀ”teCat šŸ‡§šŸ‡¬
TheWhĀ”teCat šŸ‡§šŸ‡¬ - avatar
+ 2
TheWhĀ”teCat šŸ‡§šŸ‡¬ Thank you very much. I did not know that Java has a class SecurityManager. I will try it out.
7th Jun 2021, 7:22 PM
Denise RoƟberg
Denise RoƟberg - avatar
0
get OneNote
9th Jun 2021, 9:52 AM
Khiezlyn Ladiao ā¤
Khiezlyn Ladiao ā¤ - avatar