I have a class
class Box {
private double width;
private double height;
private double depth;
Box(Box ob) {
width = ob.width;
height = ob.height;
depth = ob.depth;
}
}
this class was compiled. But i'm stack - why?! I have a private fields!
Why i have access to private fields?