3i Infotech Placement: Sample Questions 1172 - 1175 of 1245

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

Question 1172

Edit

Describe in Detail

Essay▾

What is user defined exception?

Explanation

Define Parts of Java Exceptions
  • User define exception or custom exception handling is done by creating own exception class- object is thrown using ‘throw’ keyword.
  • It can use done by extending the class exception.
  • We can define a constructor for our exception sub class.
  • We can override the toString () function to display our customized message on catch.

Question 1173

Edit

Write in Short

Short Answer▾

How do you download stubs from remote place?

Explanation

  • RMI uses special classes called stubs downloaded to the client and used to communicate with the remote object.
  • The java. rmi. server. codebase property value represents URL locations from which these stubs can be downloaded.

Question 1174

Edit

Write in Short

Short Answer▾

What is meant by flickering?

Explanation

The color dissolution during executing images or graphics in a thread is called as flickering.

Question 1175

Edit

Statement

True-False▾

NOARCHIEVELOG parameter is used to enable the database in Archive mode

Answer

FALSE

Explanation

Define in NOARCHIVELOG Mode
  • No, NOARCHIVELOG parameter is not used to enable the database in archive mode.
  • It disables the archive of the redo log.
  • It indicates that filled groups are not required to be archived.

    Impact of NOARCHIVELOG

  • NOARCHIVELOG mode protects a database from instance failure but not from media failure.
  • Media failure in NOARHIVELOG mode allows restoring the database to the point of most recent database backup.
  • Does not perform online tablespace backup, nor uses online tablespace backups taken while the database was in ARCHIVELOG mode.
  • A database in NOARCHIVELOG mode thus requires regular backup

Developed by: