0
Can we use a object from a class in another class function?
Can any one clarify my doubt please
2 Answers
+ 1
If I understood well, you don't know what is Object oriented programming.
by the way, An Object is instance of a Class. so we can build objects every where we want.
+ 1
For example we have class Person, we make a bDate attribute, an instance of java.util.Date class.