Garbage Collection In C++, programmer is responsible for the creative of new objects& for destruction of useless objects Usually the programmer is taking very much car while creating object& he is ignoring that destruction of useless objects. Due to this negligence at cretin point of time, memory may not be available for the creation of […]
Day: January 17, 2019
Arrays
Arrays Class This Class Present in java.util package. It defines several utility methods applicable for arrays. Sorting the elements of Arrays:-Arrays class defines the following three methods to perform sorting. Public static void sort(Primitive[] p) to sort the elements of primitive array, according to natural sorting order. Public static void sort(Object[] o) to sort the […]