What is the FileInputStream class?

July 29th, 2009 by uCertify Leave a reply »

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.
  • Share/Bookmark
Advertisement

Leave a Reply

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