Thread.currentThread().getStackTrace()[2].getLineNumber()
but why just 2 and not for example 1?
I also wonder why for [3] programme throws ArayIndexOfBounException <= I guess this it not the index of method
Could you tell me what happens here?
Dyskutowane
Komentarze (1)
- Popularne
- Najnowsze
- Najstarsze
Musisz się zalogować, aby dodać komentarz
Thomas
4 marca, 17:26
https://codegym.cc/help/15181
0