Home » Archives for Dhruvi Goyal

Author Archives: Dhruvi Goyal

Dhruvi Goyal is a graduate and University Gold Medalist in Bachelor of Computer Application from GGS Indraprastha University. She is currently pursuing M.Sc. Applied Operational Research from University of Delhi. She is a coder and a data science enthusiast. She has undertaken various projects and research work in the field of Computer Science, Data Science and Optimization. She is co-author of a book entitled "Data Structure Using C" and has published research papers in reputed International Journals and Conferences. She was also a member of Software Development Cell at Maharaja Surajmal Institute.

Java File Class Example

1. Introduction In Java, File io is a class residing in java.io package, which provides an abstract representation of file and directory pathname. The pathname can be of either an absolute or a relative manner. The File io class in Java provides functionalities such as creating, deleting, renaming, searching and identifying common attributes in files and directories, listing the contents ...

Read More »

Finalize Java Example

In this post, we feature a comprehensive Finalize Java Example. This post will acquaint you with one of the important finalize method in java with its detailed explanation, usage and implementation along with example. As the name finalize method in java suggests, it is something used generally at the end to perform certain task. This was just a very generic ...

Read More »

Java Set Example (with video)

In this example, we will demonstrate the use of the Java Set interface, which is a part of the Java Collections Framework. It extends the interface Collection, so that all the elements contained have no duplicates and only one null element may appear. There are several classes implementing the Set interface, such as AbstractSet, EnumSet, HashSet, LinkedHashSet, TreeSet and ConcurrentSkipListSet. ...

Read More »