How can we justify the below stmt
"an API can return objects without making their classes public"
(By using Static Factory methods)
If we justify the above stmt, can we access Objects in other packages also or those are valid in the same pack.?????
Could you please explain with example(without taking j2se/j2ee classes)???