java hosting

JavaRanch's SCWCD Mock Exam

This mock exam is provided to aid people in the preparation for the SCWCD Exam. While the questions are hopefully of similar content, every effort has been made to ensure no question from the real exam is contained herein.

Question Bank ID : 40     Choose the 1 correct answer
What is the output of the following code?

    <%! int counter; %>
    <% counter = 100; %>
    The number of hits <% = ++counter %>
Page won't compile
The number of hits 100
The number of hits ++counter
The number of hits 101

Return to Start

JSP pages and Beans developed by Carl Trusiak
Questions developed and maintained by :
Tony Alicea
Frank Carver
Peter den Haan
Carl Trusiak
Christophe Verré
Paul Wheaton
Ken Zrobok