Java - Packages - Interview Questions and Answers on java.io

Q1. What is the package name for FileNotFoundException class?

Ans.java.io

Q2. Name few classes of package java.io?

Ans.

[ SecureDirectoryStream<T>,  ImageOutputStream,  AsynchronousChannel,  StringBufferInputStream,  ScatteringByteChannel, FileNotFoundException,  JavaFileManager,  InputStream,  ImageInputStream,  PipedInputStream,  StandardJavaFileManager,  SequenceInputStream, NetworkChannel,  MulticastChannel,  WritableByteChannel,  JMXConnector,  InterruptibleChannel,  ObjectInputStream,  SeekableByteChannel,  FilterInputStream,  DirectoryStream<T>,  RMIConnection,  GatheringByteChannel, AsynchronousByteChannel,  ByteChannel, InputStream,  Channel, IOException, FileInputStream,  ReadableByteChannel, AudioInputStream,  ByteArrayInputStream,  FileInputStream,  WatchService, File]

Q3. What is the package name for FileInputStream class?

Ans.java.io


Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner
comments powered by Disqus