FileReaderFileReader(String file) It takes filename in string. It opens the given file in read mode. If file doesn't exist, it throws FileNotFoundException.FileReader(File file) It tak… Read More
We can specify default values to function parameters. These default values are used, when you do not specify any values to the function arguments while calling.fun readFile(offset: Int = 0… Read More