Please answer this for mee..
String s2=s1+ "def"
How many objects are created and how??
posted 4 years ago
Welcome to the Ranch.
You need three objects: a pencil, an eraser (probably the most important ) and a sheet of paper. You write down a short description of each object, whether it is created at runtime or when the class is loaded, and then you count them.