Problem:
Question 1: Explain how objects are created in Java and how the memory used by objects is recovered. Compare this to object creation and destruction in C++.
Question 2: Write script that calculates sqrt 160 (babylonian method) but using a WHILE loop that keeps on doing this method until the solution converges or is accurate to within 0.0001 decimal places.
Write the code step by step and explain it.