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

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 134

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 135

Appeared in Year: 2004

Question

MCQ▾

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

  1. <%! StringstrTemp =request. GetParameter ( “Name” ); %>
  2. Andbelowthat, an_expressionappearsas:
  3. <% System. Out. Println ( “TheNameofpersonis:” +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

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.

Developed by: