Skip to content

Category Archives: Java Programs

Given a keypad of a mobile, and keys that need to be pressed, the task is to print all the words which are possible to… Read More
Given an integer array marks, which comprises of marks scored by a student (out of 100) in different subjects, the task is to assign a… Read More
The mkdirs() method is a part of File class. The mkdirs() function is used to create a new directory denoted by the abstract pathname and… Read More
The isDirectory() function is a part of File class in Java . This function determines whether the is a file or directory denoted by the… Read More
The getTotalSpace() function is a part of File class in Java . This function returns the total size of the partition denoted by the abstract… Read More
The createTempFile() function creates a temporary file in a given directory ( if directory is not mentioned then a default directory is selected ), the… Read More
The isHidden() function is a part of File class in Java . This function determines whether the is a file or Directory denoted by the… Read More
The setReadOnly() method is a part of File class. The setReadOnly() function marks the specified file or directory such that only read operations are allowed… Read More
The listRoots() method is a part of File class. The listRoots() function returns the root directories of all the available file System roots. It is… Read More
The mkdir() method is a part of File class. The mkdir() function is used to create a new directory denoted by the abstract pathname. The… Read More
The lastModified() function is a part of File class in Java . This function returns the time denoted by the this abstract pathname was last… Read More
The length() function is a part of File class in Java . This function returns the length of the file denoted by the this abstract… Read More
The delete() function is a part of File class in Java . This function deletes an existing file or directory. If the file is deleted… Read More
The exists() function is a part of the File class in Java. This function determines whether the is a file or directory denoted by the… Read More
The isFile() function is a part of File class in Java. This function determines whether the is a file or Directory denoted by the abstract… Read More

Start Your Coding Journey Now!