Why map is not a collection? collection acts upon values. map acts on key value pair Why the finalize method is protected? Finalize method is for the JVM to execute before GC.imagine if finalize is public then any object can call directly which is not what we wanted. If you have some open connection you […]
