KiwiQA interview question

FileInputStream class get -settings-from-a-text-file-in-java Inheritance Project of the previous organization Java Basics

Interview Answer

Anonymous

24 June 2022

Both round on google meet cleared with my set of skills 1) FileInputStream class is useful to read data from a file in the form of sequence of bytes. FileInputStream is meant for reading streams of raw bytes such as image data. For reading streams of characters, consider using FileReader. FileReader reader = new FileReader(configFile); Properties props = new Properties(); props.load(reader); reader.close();