Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
a question about subclass of InputStream
david hu
Ranch Hand
Posts: 143
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
ask about this question:
which of the following method must be overriden when creating a subclass of the InputStream
answer:
public int read() throws IOException
Jose Botella
Ranch Hand
Posts: 2120
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
That is the only abstract methos in InputStream. Thus if you want a subclass that is instantiable you need to overrided it.
SCJP2. Please Indent your code using UBB Code
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
try these questions about I/O and threads?
FilterInputStreams
IO Streams..
ProgressMonitorInputStream and ObjectInputStream
System.in,System.out,System.err
More...