This is the picture for question which i am asking Please look at this picture also to understand the code.
In the image which I have mentioned here. It shows the setObject method inside the Class A. (There are 2 classes 1 called class A and another Class B). Inside class a it has created a method called set B Object. I need someone to explain me what this code does. The teacher which teaches is very bad, he cant even speak english properly. Please if anyone can explain it to me. That would be a big help
I know how to write a normal Set method, but I am not sure of a SetMethod for a class.