Languages-Java [3i Infotech Placement]: Sample Questions 133 - 135 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 133

Write in Short Short Answer▾

How do you download stubs from remote place?

Edit

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 134

Write in Short Short Answer▾

What is meant by flickering?

Edit

Explanation

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

Question 135

Appeared in Year: 2004

Question MCQ▾

In a JSP page, a statement is declared as follows:

  1. <%! String strTemp =request. GetParameter ( “Name” ); %>
  2. And below that, an _expression appears as:
  3. <% System. Out. Println ( “The Name of person is:” +strTemp); %>

What is the output of the expression, if this JSP page is invoked in browser using URL?

Choices

Choice (4)

a.

The name of person is:

b.

The Name of person is: Chetana

c.

The Name of person is: null

d.

All of the above

Edit

Answer

b.

Explanation

  • In this case on the page nothing will be displayed as the System. out. println () will display the output to console.
  • So it may be displayed in the file of the application server՚s console output file.