What is the FileInputStream class?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is the FileInputStream class?

Rating:

The FileInputStream class is used to perform simple file input operations. It is used to read binary data from a file. It reads data in a sequential manner but can skip a region of data as per the requirement. The FileInputStream class can be instantiated by using any of the following three constructors:

  • FileInputStream(String name)
    This constructor will initialize a FileInputStream to read from the specified named file.

  • FileInputStream(File file)
    This constructor will initialize a FileInputStream to read from the specified File object.

  • FileInputStream(FileDescriptor fdObject)
    This constructor will initialize a FileInputStream to read from the specified FileDescriptor object.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.