You are not logged in.
Pages:: 1
#1 2015-11-04 06:59:38
What will be the output of the following expression?
Java Quizzes SCWCD (Sun Certified Web Component Developer)
Question:
What will be the output of the following expression?
<%= System.out.println("Hello.."); %>
Option A):
System.out.println("Hello..")
Option B):
Hello..
Option C):
java.io.PrintStream@1ccf82Hello
Option D):
Compiler Error
Correct Answer is Option D):
Compiler Error
Explanation:
We cannot use 'void' in JSP expression. All JSP expression should return a valid type except void.
Online Web Tutorials And Interview Questions With Answers Forum:
https://globalguideline.com/forum/
Offline
2015-11-04 06:59:38
- Advertisement
- Ads By Google
Re: What will be the output of the following expression?
\n