A. Compilation fails because of an error in line 19. B. An exception is thrown at runtime. C. B D. Compilation fails because of an error in line 18. E. Compilation fails because of an error in line 15. F. The code runs with no output.
A. Line 19 B. The object is NOT a candidate for garbage collection. C. Line 17 D. Line 16 E. Line 18
A. 0 B. The result is undefined. C. a D. 2 E. 1 F. c G. b
A. An exception is thrown at runtime. B. Pi is approximately 3. C. Pi is approximately 3.141593. D. Compilation fails.
A. Line l = new Line() ; l.Point p = new l.Point(); B. Line.Point p = new Line.Point(); C. The Point class cannot be instatiated at line 15. D. Point p = new Point();