Set - 5

Question 1 :

What is static method ?

Answer :

Another name for class method.


Question 2 :

What is stream ?

Answer :

A stream is simply a byte-stream of data that is sent from a sender to a receiver. There are two basic categories, so the java.io package includes two abstract classes (InputStream and OutputStream).


Question 3 :

What is subclass ?

Answer :

A class that is derived from a particular class, perhaps with one or more classes in between. See also superclass, supertype.


Question 4 :

What is subtype ?

Answer :

If type X extends or implements type Y, then X is a subtype of Y. See also supertype.


Question 5 :

What is superclass ?

Answer :

A class from which a particular class is derived, perhaps with one or more classes in between. See also subclass, subtype.