Languages-Java [3i Infotech Placement]: Sample Questions 10 - 11 of 141

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 10

Edit

Describe in Detail

Essay▾

When applets are downloaded from web sites, a byte verifier performs ________?

Explanation

  • When applets are downloaded from web sites, a byte verifier checks the status byte.
  • Status bytes are usually followed by one or more data bytes that provide the actual information to be implemented.
  • MIDI messages can be broken into two constituent parts: data bytes and status bytes.
  • The status byte of a MIDI message defines the type of information being sent.
  • They contain a MIDI channel, to specifically direct the information. A code tells the listening device the type of data.
  • This prepares the device to receive any one of the following eight fundamental types of MIDI data messages: Note Off, Note On, Polyphonic After touch, Control Change Program Change, Channel After touch, or System.
  • The final type, System, refers to system commands, system real time, or system exclusive commands - these are not addressed to individual MIDI channels and data bits used to specify MIDI channel are instead used to further specify the system message.

Question 11

Edit

Statement

True-False▾

Java supports multiple inheritances?

Answer

FALSE

Explanation

Java Does Not Support Multiple Inheritance
  • False
  • Java does not allow multiple inheritances to avoid the ambiguity (see diagram above) .
  • Multiple inheritance happens when a class extends more than one superclass.

Developed by: