We can pass Object of any class as parameter to a method in java.
We can access the instance variables of the object passed inside the called method.
It is good practice to initialize instance...
Type: Posts; User: priya456
We can pass Object of any class as parameter to a method in java.
We can access the instance variables of the object passed inside the called method.
It is good practice to initialize instance...