A. The Mycircle class is fully encapsulated.
B. The diameter of a given MyCircle is guaranteed to be twice its radius.
C. Lines 6 and 7 should be in a synchronized block to ensure encapsulation.
D. The radius of a MyCircle object can be set without affecting its diameter.
Option A is wrong because instance variables radius and diameter must be private not public for encapsulation.
Option B is wrong because there is
public diameter variable can be set independently e.g diameter = 34;.
Option C is wrong because synchronization is nothing to do with encapsulation.
Option D is correct the reason
public radius variable can be set radius = 3;
[ August 22, 2007: Message edited by: Ameen khan ]