I've been using getters and setters in this java code .. so in my Class A
I get the user input and I tried this and it runs perfect and I tried to output the user input and the answer is same so I've go to the Class B
in class B
I need to search .. the user will search and output the answer if true .. in class A
example the user input Student id : 12 and he searched it in class B
it must output ..
but my problem I don't know how I can link the array from the Class A
to Class B
so I can manage to search is ..