Dab tsi yog subclasses ntawm filterinputstream thiab filteroutputstream?

Cov txheej txheem:

Dab tsi yog subclasses ntawm filterinputstream thiab filteroutputstream?
Dab tsi yog subclasses ntawm filterinputstream thiab filteroutputstream?

Video: Dab tsi yog subclasses ntawm filterinputstream thiab filteroutputstream?

Video: Dab tsi yog subclasses ntawm filterinputstream thiab filteroutputstream?
Video: Hmong new movie xib fwb tua dab funny tuag los tsis cia koj dim 2024, Kaum ib hlis
Anonim

Feem ntau lim kwj muab los ntawm java.io pob yog subclasses ntawm FilterInputStream thiab FilterOutputStream thiab muaj npe ntawm no:

  • DataInputStream thiab DataOutputStream.
  • BufferedInputStream thiab BufferedOutputStream.
  • LineNumberInputStream.
  • PushbackInputStream.
  • PrintStream (Qhov no yog qhov tso zis tawm.)

Qhov twg yog cov subclasses ntawm FilterInputStream thiab FilterOutputStream Mcq?

FilterInputStream & FilterOutputStream subclasses - Core Java

  • a. PipedInputStream.
  • b. PipedOutputStream.
  • c. DataInputStream.
  • d. DataOutputStream.
  • e. Ob leeg C & D.

FilterInputStream yog dab tsi?

A FilterInputStream muaj qee yam lwm yam kev tawm tswv yim, uas nws siv los ua nws cov ntaub ntawv yooj yim, tejzaum nws hloov cov ntaub ntawv raws li txoj kev lossis muab kev ua haujlwm ntxiv.

Puas yog ob chav lim dej siv los tsim cov ntaub ntawv ntws rau?

DataInputStream & DataOutputStream yog ob chav lim dej siv los tsim "cov ntaub ntawv ntws" rau tuav cov ntaub ntawv qub yam.

Lub hom phiaj ntawm kev lim dej yog dab tsi?

Stream filter Method

Predicate is a functional interface and represent the condition to filter out the non-matching elements from the kwjfilter is a intermediate Stream operation. Nws xa rov qab kwj uas muaj cov ntsiab lus ntawm cov kwj uas tau muab los ua kom haum rau qhov muab tso ua ntej.

Pom zoo: