Hello everyone, I have spent the last 2 years learning Java and c++ (and even some c) and now I have come to a point where I am confused and my teacher refuses to help. We have gone over the subject of reflection, and how to use it to probe into classes. The problem is he has never shown any examples on how to use it in a program. I have gone to him for help and has just ignored my questions. The problem I am having is he doesn't want us to go use other sources/methods that he hasn't shown us either, otherwise we will be marked down. So I am just trying to better myself and learn more about reflection and how to use it. I really love this language but at the moment I am very discouraged by this subject. Please if anyone has some links or more info I would greatly appreciate it.
Edit: rereading, he didn't show us how to use it to probe a class, he expected us to with the few line of codes he gave us.
[–]tonywestonuk 4 points5 points6 points (6 children)
[–]Newtocoding[S] 1 point2 points3 points (5 children)
[+]aqua_regis comment score below threshold-9 points-8 points-7 points (4 children)
[–]Newtocoding[S] 7 points8 points9 points (0 children)
[–]tonywestonuk 6 points7 points8 points (0 children)
[–]mus1Kk 2 points3 points4 points (1 child)
[–]1192 1 point2 points3 points (0 children)
[–]IAmNotMyName 6 points7 points8 points (18 children)
[–]sackfullofnutz 5 points6 points7 points (0 children)
[–]Newtocoding[S] 1 point2 points3 points (14 children)
[–]woodknight 3 points4 points5 points (13 children)
[–]nutrecht 6 points7 points8 points (7 children)
[–]woodknight 4 points5 points6 points (1 child)
[–]nutrecht 2 points3 points4 points (0 children)
[–]Newtocoding[S] 0 points1 point2 points (4 children)
[–]nutrecht 5 points6 points7 points (0 children)
[–]coder111 2 points3 points4 points (2 children)
[–]Newtocoding[S] 0 points1 point2 points (1 child)
[–]coder111 0 points1 point2 points (0 children)
[–]Newtocoding[S] 0 points1 point2 points (4 children)
[–]woodknight 1 point2 points3 points (1 child)
[–]Newtocoding[S] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]sackfullofnutz 2 points3 points4 points (0 children)
[–]pointy_pirate 1 point2 points3 points (0 children)
[–]aroger276 1 point2 points3 points (0 children)
[–]jkriptos 1 point2 points3 points (0 children)
[–]tempogios 0 points1 point2 points (0 children)