<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30385708</id><updated>2011-12-14T18:59:03.221-08:00</updated><title type='text'>Java Developers [ SCJP ]</title><subtitle type='html'>SCJP , java certification , Sun java certification , Java question and answer , SCJP question &amp; answer , Top question and answer for java developers , challenge to java developers, Sun certification , Advance java , core java, java 1.5 question and answer, java 1.5.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://scjpdeveloper.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30385708/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://scjpdeveloper.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>scjpdeveloper</name><uri>http://www.blogger.com/profile/11445881386738934948</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30385708.post-115209959510506850</id><published>2006-07-05T04:36:00.000-07:00</published><updated>2006-07-06T05:36:59.430-07:00</updated><title type='text'>SCJP Question &amp; Answer</title><content type='html'>&lt;h2&gt;Questions on Language Fundamentals&lt;/h2&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are legal      identifiers. Select the three correct answers.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;number_1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;number_a&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;$1234&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-volatile&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are not legal      identifiers. Select the four correct answers.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;1alpha&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;_abcd&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;xy+abc&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;transient&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;account-num&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;very_long_name&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      keywords in Java. Select the two correct answers.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;friend&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;NULL&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;implement&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;synchronized&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;throws&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      Java keywords. Select the four correct answers.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;super&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;strictfp&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;synchronize&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;instanceof&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are Java      keywords. Select the five correct answers &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;TRUE &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;volatile&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;transient&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;native&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;interface&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;then&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;new&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Using up to four characters,      write the Java representation of octal literal 6. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Using up to four characters,      write the Java representation of integer literal 3 in hexadecimal. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Using up to four characters,      write the Java representation of integer literal 10 in hexadecimal. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;What is the minimum value of      char type. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;15&lt;/sup&gt; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;8&lt;/sup&gt; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;15&lt;/sup&gt; - 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;16&lt;/sup&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;16&lt;/sup&gt; - 1&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;How many bytes are used to      represent the primitive data type int in Java. Select the one correct      answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;8 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number of bytes to       represent an int is compiler dependent. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the legal range of      values for a variable declared as a byte. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 to 256 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 to 255 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-128 to 127 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-128 to 128 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-127 to 128 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;15&lt;/sup&gt; to 2&lt;sup&gt;15&lt;/sup&gt;       - 1 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;The width in bits of double      primitive type in Java is --. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The width of double is       platform dependent &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;64 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;128 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;8 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What would happen when the      following is compiled and executed. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;14.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;15.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class Compare { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;16.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;17.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int x = 10, y;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;18.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;if(x &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;19.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;y = 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;20.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;if(x&gt;= 10) y = 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;21.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println("y is " + y);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;22.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;23.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;24.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="24" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and prints y is 0 when executed. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and prints y is 1 when executed. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and prints y is 2 when executed. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile complaining about y not being initialized. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program throws a       runtime exception. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What would happen when the      following is compiled and executed. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;26.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;27.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class example {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;28.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;int x;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;29.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;int y;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;30.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;String name;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;31.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;32.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;example pnt = new example();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;33.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println("pnt is " + pnt.name + &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;34.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;" " + pnt.x + " " + pnt.y);&lt;span style=""&gt;          &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;35.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;36.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;37.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="37" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile because x, y and name are not initialized. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program throws a       runtime exception as x, y, and name are used before initialization. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints pnt       is 0 0. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints pnt       is null 0 0. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints pnt       is NULL false false &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;The initial value of an      instance variable of type String that is not explicitly initialized in the      program is --. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;null &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;"" &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;NULL &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The instance variable       must be explicitly assigned. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;The initial value of a local      variable of type String that is not explicitly initialized and which is      defined in a member function of a class. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;null &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;"" &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;NULL &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The local variable       must be explicitly assigned. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      legal Java programs. Select the four correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;// The comments come before the       package&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;&lt;br /&gt;    &lt;code&gt;package pkg;&lt;/code&gt;&lt;br /&gt;    &lt;code&gt;import java.awt.*;&lt;/code&gt;&lt;br /&gt;    &lt;code&gt;class C{}&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;package pkg;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;&lt;br /&gt;    &lt;code&gt;import java.awt.*;&lt;/code&gt;&lt;br /&gt;    &lt;code&gt;class C{}&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;package pkg1;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;&lt;br /&gt;    &lt;code&gt;package pkg2;&lt;/code&gt;&lt;br /&gt;    &lt;code&gt;import java.awt.*;&lt;/code&gt;&lt;br /&gt;    &lt;code&gt;class C{}&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;package pkg;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;&lt;br /&gt;    &lt;code&gt;import java.awt.*;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;import java.awt.*;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;&lt;br /&gt;    &lt;code&gt;class C{}&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;import java.awt.*;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;&lt;br /&gt;    &lt;code&gt;package pkg;&lt;/code&gt;&lt;br /&gt;    &lt;code&gt;class C {}&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      statements are correct. Select the four correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;A Java program must       have a package statement. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A package statement if       present must be the first statement of the program (barring any       comments).&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;If a Java program       defines both a package and import statement, then the import statement       must come before the package statement. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;An empty file is a       valid source file. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A Java file without       any class or interface definitions can also be compiled. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;If an import statement       is present, it must appear before any class or interface definitions. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What would be the results of      compiling and running the following class. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;43.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;44.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;45.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;46.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println("test");&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;47.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;48.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;49.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="49" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile as there is no main method defined. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs generating an output of "test" &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs but does not generate any output. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       but does not run. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are valid      declarations for the main method? Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;public void main(); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(String args[]); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;static public void       main(String); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(String ); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static int       main(String args[]); &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      valid declarations for the main method. Select the three correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(String args[]); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(String []args); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;final static public       void main (String args[]); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static int       main(String args[]); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static abstract       void main(String args[]); &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following program is compiled and executed with the command - java test.      Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;53.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;54.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;55.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;56.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;if(args.length &gt; 0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;57.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;System.out.println(args.length);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;58.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;59.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;60.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="60" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs but does not print anything. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs and prints 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs and prints 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs and prints 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the result of      compiling and running this program? Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;62.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;63.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;64.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;65.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int i, j;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;66.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int k = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;67.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;j = 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;68.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;k = j = i = 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;69.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(k);&lt;span style=""&gt;          &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;70.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;71.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;72.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;73.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="73" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile as k is being read without being initialized. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile because of the statement k = j = i = 1; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs printing 0. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs printing 1. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs printing 2. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed on the      standard output when the class below is compiled and executed by entering      "java test lets see what happens". Select the one correct      answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;75.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;76.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;77.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;78.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(args[0]+" "+args[args.length-1]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;79.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;80.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;81.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="81" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program will throw       an ArrayIndexOutOfBounds exception. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will print       "java test" &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will print       "java happens"; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will print       "test happens" &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will print       "lets happens" &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed on the      standard output when the class below is compiled and executed by entering      "java test lets see what happens". Select the one correct      answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;83.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;84.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;85.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;86.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(args[0]+" "+args[args.length]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;87.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;88.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;89.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="89" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program will throw       an ArrayIndexOutOfBounds exception. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will print       "java test" &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will print       "java happens"; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will print       "test happens" &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will print       "lets happens" &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed on the      standard output when the class below is compiled and executed by entering      "java test lets see what happens". Select the two correct      answers. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;91.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;92.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;93.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;94.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(args[0]+" "+args.length);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;95.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;96.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;97.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="97" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;java &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;test &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;lets &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;5 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;6 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following program is compiled and run. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;99.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;100.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class example {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;101.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;int i = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;102.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;103.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int i = 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;104.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i = change_i(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;105.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;106.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;107.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static int change_i(int i) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;108.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i = 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;109.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i *= 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;110.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;return i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;111.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;112.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;113.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="113" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 0. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 1. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 2. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 4. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following program is compiled and run. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;115.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;116.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class example {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;117.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;int i = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;118.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;119.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int i = 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;120.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;change_i(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;121.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;122.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;123.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void change_i(int i) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;124.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i = 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;125.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i *= 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;126.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;127.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;128.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="128" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 0. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 1. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 2. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 4. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following program is compiled and run. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;130.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;131.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class example {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;132.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;int i[] = {0};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;133.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;134.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int i[] = {1};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;135.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;change_i(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;136.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(i[0]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;137.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;138.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void change_i(int i[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;139.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i[0] = 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;140.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i[0] *= 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;141.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;142.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;143.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="143" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 0. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 1. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 2. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 4. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following program is compiled and run. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;145.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;146.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class example {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;147.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;int i[] = {0};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;148.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;149.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int i[] = {1};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;150.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;change_i(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;151.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(i[0]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;152.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;153.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void change_i(int i[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;154.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int j[] = {2};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;155.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i = j;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;156.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;157.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;158.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="158" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 0. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 1. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 2. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 4. &lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;b&gt;Answers to questions on Language Fundamentals&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;a, b, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c, d, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b, c, e. Please note that      strictfp is a new keyword in Java 2. See &lt;a href="http://not-a-real-namespace/http://not-a-real-namespace/http://www.java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html"&gt;Sun's      site&lt;/a&gt; for more details. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, d, e, g &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Any of the following are      correct answers - 06, 006, or 0006 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Any of the following are      correct answers - 0x03, 0X03, 0X3 or 0x3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Any of the following are correct      answers - 0x0a, 0X0a, 0Xa, 0xa, 0x0A, 0X0A, 0XA, 0xA &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d. The variable y is getting      read before being properly initialized. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d. Instance variable of type      int and String are initialized to 0 and null respectively. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b, d, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, d, e, f &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;h2&gt;Questions on Operator and Assignments&lt;/h2&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;In the following class      definition, which is the first line (if any) that causes a compilation      error. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;3.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;4.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;5.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;char c;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;6.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;7.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;c = 'A';&lt;span style=""&gt;               &lt;/span&gt;// 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;8.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;i = c;&lt;span style=""&gt;         &lt;/span&gt;//2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;9.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;c = i + 1;&lt;span style=""&gt;     &lt;/span&gt;//3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;10.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;c++;&lt;span style=""&gt;           &lt;/span&gt;//4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;11.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;12.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;13.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="13" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The line labeled 1. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The line labeled 2. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The line labeled 3. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The line labeled 4. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;All the lines are       correct and the program compiles. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these assignments      are valid. Select the four correct answers.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;short s = 28; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;float f = 2.3; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;double d = 2.3; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int I = '1'; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;byte b = 12; &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following program is compiled and run. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;16.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;17.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;18.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;19.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int i,j,k,l=0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;20.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;k = l++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;21.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;j = ++k;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;22.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;i = j++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;23.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(i);&lt;span style=""&gt;         &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;24.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;25.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;26.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="26" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these lines will      compile? Select the four correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;short s = 20; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;byte b = 128; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;char c = 32; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;double d = 1.4;; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;float f = 1.4; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;byte e = 0; &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;The signed right shift      operator in Java is --. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;&lt;; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&gt;&gt; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&gt;&gt;&gt;; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;None of these. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed on the      standard output when the class below is compiled and executed. Select the      one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;30.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;31.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class ShortCkt {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;32.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;33.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int i = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;34.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean t = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;35.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean f = false, b;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;36.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;b = (t &amp;&amp;amp;amp;amp; ((i++) == 0));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;37.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;b = (f &amp;&amp;amp;amp;amp; ((i+=2) &gt; 0));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;38.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(i);&lt;span style=""&gt;         &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;39.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;40.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;41.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="41" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed on the      standard output when the class below is compiled and executed. Select the      one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;43.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;44.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class ShortCkt {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;45.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;46.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int i = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;47.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean t = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;48.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean f = false, b;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;49.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;b = (t &amp; ((i++) == 0));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;50.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;b = (f &amp; ((i+=2) &gt; 0));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;51.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(i);&lt;span style=""&gt;         &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;52.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;53.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;54.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="54" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed on the      standard output when the class below is compiled and executed. Select the      one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;56.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;57.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class ShortCkt {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;58.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;59.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int i = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;60.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean t = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;61.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean f = false, b;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;62.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;b = (t || ((i++) == 0));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;63.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;b = (f || ((i+=2) &gt; 0));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;64.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(i);&lt;span style=""&gt;         &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;65.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;66.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;67.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="67" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed on the      standard output when the class below is compiled and executed. Select the      one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;69.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;70.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class ShortCkt {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;71.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;72.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int i = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;73.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean t = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;74.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean f = false, b;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;75.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;b = (t | ((i++) == 0));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;76.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;b = (f | ((i+=2) &gt; 0));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;77.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(i);&lt;span style=""&gt;         &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;78.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;79.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;80.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="80" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which operator is used to      perform bitwise inversion in Java. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;~ &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;! &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&amp; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;| &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;^ &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following program is compiled and run. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;83.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;84.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;85.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;86.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;87.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;byte x = 3;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;88.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;x = (byte)~x;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;89.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(x);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;90.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;91.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;92.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;93.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="93" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;11 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;252 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;214 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;124 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-4 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets displayed on the      screen when the following program is compiled and run. Select the one      correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;95.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;96.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;97.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;98.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int x,y;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;99.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;x = 3 &amp; 5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;100.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;y = 3 | 5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;101.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(x + " " + y);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;102.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;103.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;104.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="104" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;7 1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 7&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 7&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 3&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;7 3&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;7 5&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets displayed on the      screen when the following program is compiled and run. Select the one      correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;106.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;107.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;108.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;109.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int x,y;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;110.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;x = 1 &amp; 7;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;111.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;y = 3 ^ 6;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;112.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(x + " " + y);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;113.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;114.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;115.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="115" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;1 3&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 5&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;5 1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 6&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 7&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 5&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which operator is used to      perform bitwise exclusive or. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;&amp;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;^&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;|&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;!&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;~&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets displayed on the      screen when the following program is compiled and run. Select the one      correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;118.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;119.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;120.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;121.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean x = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;122.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int a;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;123.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;if(x) a = x ? 1: 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;124.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;else a = x ? 3: 4;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;125.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(a);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;126.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;127.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;128.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="128" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets displayed on the      screen when the following program is compiled and run. Select the one      correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;130.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;131.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;132.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;133.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;boolean x = false;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;134.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int a;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;135.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;if(x) a = x ? 1: 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;136.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;else a = x ? 3: 4;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;137.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(a);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;138.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;139.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;140.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="140" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets displayed on the      screen when the following program is compiled and run. Select the one      correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;142.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;143.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;144.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;145.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int x, y;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;146.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;147.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;x = 5 &gt;&gt; 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;148.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;y = x &gt;&gt;&gt; 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;149.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;              &lt;/span&gt;System.out.println(y);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;150.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;151.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;152.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="152" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;5&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;80&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;64&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets displayed on the      screen when the following program is compiled and run. Select the one      correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;154.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;155.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;156.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;157.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int x;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;158.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;159.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;x = -3 &gt;&gt; 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;160.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;x = x &gt;&gt;&gt; 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;161.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;x = x &lt;&lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;162.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;              &lt;/span&gt;System.out.println(x);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;163.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;164.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;165.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="165" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;7&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;5&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;23&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2147483646&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      correct. Select all correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Java provides two       operators to do left shift - &lt;&lt;&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&gt;&gt; is the zero       fill right shift operator.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&gt;&gt;&gt; is the       signed right shift operator.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;For positive numbers,       results of operators &gt;&gt; and &gt;&gt;&gt; are same.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the result of      compiling and running the following program. Select one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;168.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;169.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;170.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;171.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int i = -1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;172.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;i = i &gt;&gt; 1;&lt;span style=""&gt;    &lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;173.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;              &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;174.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;175.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;176.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="176" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;63&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;127&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;128&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;255&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed when      the following gets compiled and run. Select the two correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;178.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;179.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class example {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;180.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;181.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int x = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;182.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;if(x &gt; 0) x = 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;183.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;184.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;switch(x) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;185.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;case 1: System.out.println(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;186.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;case 0: System.out.println(0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;187.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;case 2: System.out.println(2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;188.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                       &lt;/span&gt;break;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;189.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;case 3: System.out.println(3);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;190.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;default: System.out.println(4);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;191.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                       &lt;/span&gt;break;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;192.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;193.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;194.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;195.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="195" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following class is compiled and run. Select one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;197.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;198.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;199.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;200.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;int x = 0, y = 1, z;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;201.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;if(x) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;202.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;z = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;203.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;204.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;z = 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;205.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;206.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;if(y) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;207.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;z = 2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;208.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;209.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;z = 3;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;210.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(z); &lt;span style=""&gt;               &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;211.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;212.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;213.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="213" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile because of problems in the if statement. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which all lines are part of      the output when the following code is compiled and run. Select the nine      correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;215.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;216.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;217.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;218.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;for(int i = 0; i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;219.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;for(int j = 3; j &gt;= 0; j--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;220.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;if(i == j) continue;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;221.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;System.out.println(i + " " + j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;222.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;223.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;224.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;       &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;225.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;226.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="226" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       print anything. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which all lines are part of      the output when the following code is compiled and run. Select the one      correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;228.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;229.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;230.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;231.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;for(int i = 0; i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;232.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;for(int j = 3; j &lt;= 0; j--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;233.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;if(i == j) continue;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;234.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;System.out.println(i + " " + j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;235.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;236.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;237.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;       &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;238.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;239.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="239" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       print anything. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which all lines are part of      the output when the following code is compiled and run. Select the six      correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;241.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;242.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;243.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;244.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;for(int i = 0; i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;245.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;for(int j = 3; j &gt;= 0; j--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;246.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;if(i == j) break;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;247.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;System.out.println(i + " " + j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;248.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;249.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;250.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;       &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;251.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;252.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="252" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 3 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which all lines are part of      the output when the following code is compiled and run. Select the six      correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;254.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;255.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;256.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;257.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;outer: &lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;for(int i = 0; i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;258.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;for(int j = 3; j &gt;= 0; j--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;259.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;if(i == j) continue outer;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;260.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;System.out.println(i + " " + j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;261.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;262.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;263.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;       &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;264.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;265.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="265" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 3 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which all lines are part of      the output when the following code is compiled and run. Select the three      correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;267.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;268.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;269.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;270.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;outer :&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;for(int i = 0; i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;271.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;for(int j = 3; j &gt;= 0; j--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;272.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;if(i == j) break outer;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;273.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;System.out.println(i + " " + j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;274.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;275.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;276.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;       &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;277.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;278.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="278" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 3 &lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;b&gt;Answers to questions on Operators and Assignments&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;c. It is not possible to      assign an integer to a character in this case without a cast. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c, d, e. 2.3 is of type      double. So it cannot be assigned to a float without a cast. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c, d, f. If RHS (Right      hand side) is an integer within the correct range of LHS (Left hand side),      and if LHS is char, byte, or short, no cast is required. A decimal number      is a double by default. Assigning it to float requires a cast. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b. In the second assignment      to variable b, the expression (i+=2) does not get evaluated.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;h &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;f &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;f &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e. The expression in the if      statement must evaluate to a boolean. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, d, e, g, h, i, j, l &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;q &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, d, g, h, l&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, d, g, h, l&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, d&lt;/li&gt;&lt;/ol&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;Questions on Declaration and Access Control&lt;/h2&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Given a one dimensional      array arr, what is the correct way of getting the number of elements in      arr. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;arr.length &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;arr.length - 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;arr.size &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;arr.size - 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;arr.length() &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;arr.length() - 1 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these statements      are legal. Select the three correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;int arr[][] = new       int[5][5]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int []arr[] = new       int[5][5]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int[][] arr = new       int[5][5]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int[] arr = new       int[5][]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int[] arr = new       int[][5]; &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Write the expression to      access the number of elements in a one dimensional array arr. The      expression should not be assigned to any variable. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of these array      declarations and initializations are legal? Select the two correct      answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;int arr[4] = new       int[4]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int[4] arr = new       int[4]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int arr[] = new       int[4]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int arr[] = new       int[4][4]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int[] arr = new       int[4]; &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style="color: red;"&gt;&lt;span style="color: windowtext;"&gt;What will the result of compiling and executing      the following program. Select the one correct answer. &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;6.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;7.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class Test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;8.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;9.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;10.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;11.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int arr[] = new int[2];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;12.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;13.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(arr[0]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;14.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;15.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;16.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;17.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;18.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;ol start="18" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile because arr[0] is being read before being initialized. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program       generates a runtime exception because arr[0] is being read before being       initialized. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and prints 0 when executed. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and prints 1 when executed. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs but the results are not predictable because of un-initialized       memory being read. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      legal declaration and definition of a method. Select all correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;void method() {}; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void method(void)       {}; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;method() {}; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;method(void) {}; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void method {}; &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      valid constructors within a class Test. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;test() { } &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Test() { } &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void Test() { } &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;private final Test()       { } &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;abstract Test() { } &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Test(Test t) { } &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Test(void) { } &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the result of      compiling and running the following class. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;22.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;23.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;24.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;25.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class Test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;26.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;27.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public void methodA(int i) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;28.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;29.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(i); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;30.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;31.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;32.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;33.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public int methodA(int i) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;34.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;35.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(i+1); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;36.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;37.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;return i+1; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;38.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;39.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;40.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;41.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;42.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;43.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Test X = new Test();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;44.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;45.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;X.methodA(5);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;46.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;47.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;48.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;49.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;50.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;51.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;52.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;Select the one correct answer. &lt;/p&gt;  &lt;ol start="52" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs printing 5. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs printing 6. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program gives       runtime exception because it does not find the method Test.methodA(int) &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program give       compilation error because methodA is defined twice in class Test. &lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Answers to questions on Declarations&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;arr.length &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c, e. The size of the array      should not be specified when declaring the array.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, f. A constructor must      have the same name as the class, hence a is not a constructor. It must not      return any value, hence c is not correct. A constructor cannot be declared      abstract or final. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;/ol&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;Questions on Classes&lt;/h2&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What gets displayed on the      screen when the following program is compiled and run. Select the one      correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;3.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;protected class example {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;4.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;5.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;String test = "abc";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;6.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;test = test + test;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;7.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;               &lt;/span&gt;System.out.println(test);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;8.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;9.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;10.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="10" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The class does not       compile because the top level class cannot be protected.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints       "abc"&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints       "abcabc"&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile because statement "test = test + test" is illegal.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;A top level class may have      only the following access modifier. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;package &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;friendly&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;private &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;protected &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Write down the modifier of      a method that makes the method available to all classes in the same      package and to all the subclasses of this class. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Select the one most      appropriate answer. A top level class without any modifier is accessible      to - &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;any class &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;any class within the       same package&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;any class within the       same file&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;any subclass of this       class.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Is this True or False. In      Java an abstract class cannot be sub-classed. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Is this True or False. In      Java a final class must be sub-classed before it can be used. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      true. Select the three correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;A static method may       be invoked before even a single instance of the class is constructed. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A static method       cannot access non-static methods of the class. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Abstract modifier       can appear before a class or a method but not before a variable. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;final modifier can       appear before a class or a variable but not before a method. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Synchronized       modifier may appear before a method or a variable but not before a class.       &lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Answers to questions on classes in Java&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;protected &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;False &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;False &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b, c. final modifier may      appear before a method, a variable or before a class. &lt;/li&gt;&lt;/ol&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;Questions on AWT&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;This topic is part of SCJP 1.2 exam but not SCJP 1.4 exam. &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      classes are derived from the Container class. Select the four correct      answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Component&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Panel&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;java.applet.Applet&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Dialog&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Frame&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MenuComponent&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      classes are derived from the Component class. Select the four correct      answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Container&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Window&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MenuItem&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Choice&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the class used to      represent a GUI application window, which is optionally resizable and can      have a title bar, an icon, and menus. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Window&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Panel&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Dialog&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Frame&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which abstract class is the      super class of all menu related classes. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of these classes can      be added to a Frame component. Select the three correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Menu&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Button&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;PopupMenu&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Window&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which class can be used to      represent a checkbox with a textual label that can appear in a menu.      Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;MenuBar&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MenuItem&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CheckboxMenuItem&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Menu&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CheckBox&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these classes can      be added to any Container class, using the add method defined in Container      class. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Button&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CheckboxMenuItem&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Menu&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Canvas&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Answers to questions on AWT&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;b, c, d, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b, c, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MenuComponent &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, d &lt;/li&gt;&lt;/ol&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;Questions on Events&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;This topic is part of SCJP 1.2 exam but not SCJP 1.4 exam. &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Name the method defined in      EventObject class that returns the Object generated from the event. Select      the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;getEvent()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;getObject()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;getID()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;getSource()&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the return type of      the method getID() defined in AWTEvent class. Select the one correct      answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;int&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;long&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Object&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Component&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;short&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the event that gets      generated when a button is clicked. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;KeyEvent&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MouseEvent&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ItemEvent&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ActionEvent&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which event is generated      when the position of a scrollbar is changed. Select the one correct      answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;KeyEvent&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MouseEvent&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ItemEvent&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ActionEvent&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;AdjustmentEvent&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      Objects can generate ActionEvent. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;List&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;TextArea&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CheckboxMenuItem&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Choice&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      Objects can generate ItemEvent. Select the two correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;CheckBox&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Button&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MenuItem&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which method identifies the      type of an event generated. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;getSource()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;getType()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;getEventType()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;getID()&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      legal adapter classes in Java. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;ActionAdapter &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ItemAdapter &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;TextAdapter &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MouseAdapter &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MouseMotionAdapter &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the class of the      argument of method actionPerformed() defined in the ActionListener      interface.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of these listener      classes have corresponding adapter classes. Select the two correct      answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;ContainerListener&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;TextListener&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ItemListener&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MouseMotionListener&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are valid      adapter classes. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;ActionAdapter&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;AdjustmentAdapter&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;KeyAdapter&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;TextAdapter&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these methods are      defined in MouseMotionlistener interface. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;mouseClicked()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;mousePressed()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;mouseEntered()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;mouseDragged()&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;mouseMoved()&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the return type of      the method getSource() defined in EventObject class. Select the one      correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;int&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;long&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Object&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Component&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;short&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Answers to questions on Events&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ActionEvent &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;/ol&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;Questions on Files and Input/Output&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;This topic is part of SCJP 1.2 exam but not SCJP 1.4 exam.&lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Which abstract class is the      super class of all classes used for reading bytes. Select the one correct      answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Reader&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FileReader&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ByteReader&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;InputStream&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FileInputStream&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which abstract class is the      super class of all classes used for writing characters. Select the one      correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Writer&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FileWriter&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CharWriter&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;OutputStream&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FileOutputStream&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are legal ways      of accessing a File named "file.tst" for reading. Select the two      correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;FileReader fr = new       FileReader("file.tst");&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FileInputStream fr =       new FileInputStream("file.tst");&lt;br /&gt;    InputStreamReader isr = new InputStreamReader(fr, "UTF8");&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FileReader fr = new       FileReader("file.tst", "UTF8");&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;InputStreamReader isr       = new InputStreamReader("file.tst");&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the class that allows      reading of binary representations of Java primitives from an input byte      stream. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of these classes are      abstract. Select the three correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;FilterWriter&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Reader&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;InputStream&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CharArrayReader&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;DataInputStream&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the exception thrown by      the read method defined in InputStream class&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Answers to questions on Files and I/O&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b. FileReader class uses      the default character encoding, hence c is incorrect. InputStreamReader      character class does not have a constructor that takes file name as an      argument. Hence d is incorrect. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;DataInpiutStream &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a,b,c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;IOException &lt;/li&gt;&lt;/ol&gt;  &lt;h3&gt;Questions on Collections&lt;/h3&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;TreeMap class is used to      implement which collection interface. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Set&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;SortedSet&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Tree&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;SortedMap&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the Collection      interface implemented by the Vector class. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Name the Collection      interface implemented by the Hashtable class. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Name the Collection      interface implemented by the HashSet class. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are      interfaces in the collection framework. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Set&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Array&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Vector&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;LinkedList&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are      interfaces in the collection framework. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;HashMap&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ArrayList&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Collection&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;SortedMap&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;TreeMap&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the name of      collection interface used to maintain non-unique elements in order. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;What is the name of      collection interface used to maintain unique elements.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;What is the name of      collection interface used to maintain mappings of keys to values.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Is this true or false. Map      interface is derived from the Collection interface. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;True&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;False&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Answers to questions on Collections&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Map &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Set &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a,b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c,d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Set &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Map &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;/ol&gt;  &lt;h3&gt;Questions on Layout Managers&lt;/h3&gt;  &lt;p&gt;Please note that this topic is not included in the SCJP 1.4 exam. It is part of SCJP 1.2 exam though. &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;In Java, which of these      classes implement the LayoutManager interface. Select all correct answers.      &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;RowLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ColumnLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridBagLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FlowLayoutManager&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;BorderLayoutManager&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      layout manager is the default Layout Manager for the Applet class in Java.      Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;FlowLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;BorderLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CardLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridBagLayout&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      layout manager is the default Layout Manager for the Frame class in Java.      Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;FlowLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;BorderLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CardLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridBagLayout&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      layout manager is the default Layout Manager for the Dialog class in Java.      Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;FlowLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;BorderLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CardLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridBagLayout&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which Layout Manager follows      the following placement policy - "Lays out the components in      row-major order in rows growing from left to right, and rows from top to      bottom in the container." Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;FlowLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;BorderLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CardLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridBagLayout&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;How will the following      program lay out its buttons. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;7.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;8.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;import java.awt.*;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;9.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class MyClass {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;10.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;11.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;String[] labels = {"A","B","C","D","E","F"};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;12.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Window win =&lt;span style=""&gt;   &lt;/span&gt;new Frame();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;13.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;win.setLayout(new GridLayout(1,0,2,3));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;14.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;for(int i=0;i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;15.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;win.add(new Button(labels[i]));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;16.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;win.pack();&lt;span style=""&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;17.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;win.setVisible(true);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;18.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;19.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;20.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="20" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program will not       display any buttons.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will       display all buttons in a single row.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will       display all buttons in a single column.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will       display three rows - A B, C D, and E F.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program will       display two rows - A B C, and D E F.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The rows and columns       displayed are compiler and platform dependent.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;How will the following      program lay out its buttons. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;22.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;23.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;import java.awt.*;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;24.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class MyClass {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;25.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;26.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;String[] labels = {"A"};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;27.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Window win =&lt;span style=""&gt;   &lt;/span&gt;new Frame();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;28.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;win.setLayout(new FlowLayout());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;29.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;for(int i=0;i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;30.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;win.add(new Button(labels[i]));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;31.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;win.pack();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;32.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;win.setVisible(true);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;33.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;34.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;35.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="35" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       appear on the top left corner of the window.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       appear on the center of first row. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       appear on the top right corner of the window.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       appear on the middle row and column, in the center of the window.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Select the one correct      answer. The default alignment of buttons in Flow Layout is ... &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;LEFT&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CENTER&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;RIGHT&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The alignment must be       defined when using the FlowLayout Manager.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;The default horizontal and      vertical gap in FlowLayout is - &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 pixel&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 pixel&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;5 pixels&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;10 pixels&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The alignment must be       defined when using the FlowLayout Manager.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;The default horizontal and      vertical gap in BorderLayout is - &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 pixel&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 pixel&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;5 pixels&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;10 pixels&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The horizontal and       vertical gaps must be defined when using the BorderLayout Manager.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;How will the following      program lay out its buttons. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;40.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;41.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;import java.awt.*;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;42.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class MyClass {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;43.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;44.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;String[] labels = {"A"};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;45.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;Window win = new(Frame());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;46.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;win.set.layout(new BorderLayout());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;47.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;for(i=0;i&lt;labels.length;i++)&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/labels.length;i++)&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;48.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style=""&gt;    &lt;/span&gt;win.add(new Button(labels[i]), "North");&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;49.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;win.pack();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;50.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;win.setVisible(true);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;51.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;52.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;53.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="53" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       appear on the top left corner of the window.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       appear on the center of first row. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The button A will appear       on the top right corner of the window.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       appear on the middle row and column, in the center of the window.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       occupy the whole window.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The button A will       occupy the complete first row of the window.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;If the following method is      used to add an object to a window using BorderLayout, what would be the      placement constraint. Select one correct answer.&lt;br /&gt;   &lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;Component add(Component      comp); &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;NORTH&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;SOUTH&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;EAST&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;WEST&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CENTER&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the default filling      of GridBagConstraint. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;NONE&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;BOTH&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;HORIZONTAL&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;VERTICAL&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which GridBagLayout variable      defines the external padding (border) around the component in its display      area. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;gridwidth, gridheight&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;gridx, gridy&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;anchor&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;fill&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ipadx, ipady&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;insets&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which GridBagLayout variable      defines the padding that gets added to each side of the component. Select      the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;gridwidth, gridheight&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;gridx, gridy&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;anchor&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;fill&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ipadx, ipady&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;insets&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which GridBagLayout variable      specifies the number of cells occupied by the component horizontally and      vertically in the grid. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;gridwidth, gridheight&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;gridx, gridy&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;anchor&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;fill&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ipadx, ipady&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which GridBagLayout variable      specifies where (in which direction) a component should be placed in its      display area. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;gridwidth, gridheight&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;gridx, gridy&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;anchor&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;fill&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ipadx, ipady&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;insets&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the default value of      GridBagLayout constraint anchor. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;CENTER&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;NORTH&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;EAST&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;SOUTH&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;WEST&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Answers to questions on Layout Managers&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;f &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;f &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;/ol&gt;  &lt;h2&gt;Questions on Assertions&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;This topic is part of SCJP 1.4 exam but not SCJP 1.2 exam. &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following code is compiled and run. Select the one correct answer.&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 12pt 0.5in;"&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;for(int i = 1; i &lt;&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;br /&gt;&lt;code&gt;  for(int j = 3; j &gt; i; j--)&lt;/code&gt;&lt;br /&gt;&lt;code&gt;     assert i!=j {System.out.println(i); }&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The class compiles       and runs, but does not print anything.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 1 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 2 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 3 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program       generates a compilation error.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="2" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following code is compiled and run. Select the one correct answer.&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 12pt 0.5in;"&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;for(int i = 1; i &lt;&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;br /&gt;&lt;code&gt;  for(int j = 3; j &gt;= 1; j--)&lt;/code&gt;&lt;br /&gt;&lt;code&gt;     assert i!=j : i; &lt;/code&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol start="2" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The class compiles       and runs, but does not print anything.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 1 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 2 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 3 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program       generates a compilation error.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="3" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What happens when the      following code is compiled and run. Select the one correct answer.&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 12pt 0.5in;"&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;for(int i = 1; i &lt;&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;br /&gt;&lt;code&gt;  for(int j = 1; j &lt;&gt;&lt;br /&gt;&lt;code&gt;    if(i &lt;&gt;&lt;br /&gt;&lt;code&gt;       assert i!=j : i; &lt;/code&gt;&lt;/code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol start="3" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The class compiles       and runs, but does not print anything.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 1 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 2 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The number 3 gets       printed with AssertionError&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program       generates a compilation error.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="4" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      statement is true about the assert statement. Select the one correct      answer.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;If a Java class       contains assert statements, then it must be compiled with -1.4 option.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;When a program       having assertions is run, -assertion option must be specified, otherwise       the assertions get ignored. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A possible syntax of       assert statement is&lt;br /&gt;     &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;assert logical_expression&lt;/span&gt;&lt;/code&gt;       If logical_expression evaluates to true, the program generates an       AssertionError. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program       terminates on its first AssertionError.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Answers to questions on Assertions&lt;/b&gt; &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;e. The condition in assert      statement must be followed by a semi-colon. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b. When i and j are both 1,      assert condition is false, and AssertionError gets generated. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a. When the if condition      returns true, the assert statement also returns true. Hence AssertionError      does not get generated. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d. The option A is      incorrect, as the Java compiler option is -source 1.4 . The option B is      incorrect, as the runtime option is -ea or -enableassertions. If the      logical expression evaluates to false, then the program generates an      AssertionError, hence C is incorrect. &lt;/li&gt;&lt;/ol&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;span style="font-weight: normal;"&gt;pinpoint several places in exam:&lt;br /&gt;1. switch( ?what type? ){ default: ?what order? } - several questions&lt;br /&gt;2. threads synch., volatile variables - must understand, not very difficult&lt;br /&gt;3. File(), java.io.* , streams constructors&lt;br /&gt;4. AWT - simply must know, nothing difficult&lt;br /&gt;5. inner classes (static, private, protected, final variables)&lt;br /&gt;6. incapsulation, polymorphism, inheritance - must know these terms&lt;br /&gt;7. arrays : Object o = new int [] {1,2,3,4}; //correct&lt;br /&gt;8. int i = new Object(); //incorrect&lt;br /&gt;9. String.intern( str ) - must understand&lt;br /&gt;10. Function parameters are NEW variables that are passed by VALUE but not by reference.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;span style="font-weight: normal;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;span style="font-weight: normal;"&gt;Believe me, certification exam is completely different from a real project experience. While working in a project, you don't think through the things like, Can I override a "Final" method, Constructors get inherited or not, Can you &gt;&gt; (right shift) short, char, byte,etc. The certification exam is a way to help the new candidates to learn the JAVA language specifics rules and definitions. Passing the exam doesn't mean you know and can do everything in JAVA. There is a lot to the Java language and the best place to start is to get certified.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h2&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Try to execute as many      programs as possible. This will also help you in understanding difference      between compile time &amp; run time errors.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Loops, continue and use of      break statement in combination of increment/decrement operators can become      very complex, so try out various examples of these.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Make yourself so much      acquainted with Java that any error in the code should give you a signal      that there is some problem.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Strong command on operators      is very necessary because they change their behavior at different places      &amp;amp; different situations.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Overloading/overriding rules      of exceptions that can be thrown and how access modifiers can be used with      them is very important. In overriding, an overriding method cannot make      the access more restricted. For example private amethod() cannot override      public amethod().&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;With respect to classes,      methods &amp; variables the access modifiers that are valid. For example a      variable or a class cannot be native, synchronized. A variable cannot be      abstract. etc.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Inner classes &amp;amp;      anonymous inner classes concepts are not present in most of the books. Try      to check lots of information about them (deep knowledge is required).&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;In multithreading understand      issues like what will be the result of initiating the same thread twice.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which all methods are valid      for string &amp; string buffer.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;In lang &amp;amp; util package      deep knowledge of each &amp; every method is not required.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;IO streams are complex,      their relations with each other, and how they are used is required.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Try to execute each &amp;amp;      every possible program with different layout managers &amp; deep knowledge      of constraints that make them behave differently is required.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Event Handling and AWT are      not that complex. The difficulty level of AWT and Event handling has not      been changed. Studing from the books gives you enough knowledge. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Now a general tip - try to      be innovative, if your make any code alter it, execute it, try to make      your brain work like java compiler &amp;amp; interpreter.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Make a target of 90% or      above, never think of just getting through.&lt;/li&gt;&lt;/ol&gt;  &lt;h2&gt;&lt;span style="font-weight: normal;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;h2&gt;&lt;br /&gt;For more questions on Assertions, you may want to visit Khalid Mughal's &lt;a href="http://not-a-real-namespace/http://not-a-real-namespace/http://www.ii.uib.no/%7Ekhalid/pgjc/jcbook/JC2_Ch05-assertions-excerpt.pdf"&gt;sample chapter&lt;/a&gt; on Assertions.&lt;/h2&gt;  &lt;h2&gt;Mock exam 1&lt;/h2&gt;  &lt;p&gt;The sample test is modeled on the Sun Certification for Java&lt;sup&gt;TM&lt;/sup&gt; 2 Programmer exam. The test has 59 questions and needs to be executed in 2 hours. The real exam may be a little tougher than this. You need to score 36 correct answers to clear the real exam. The first 50 questions of the mock exam are valid for both 1.2 and 1.4 versions of the exam. The remaining 9 questions are only useful if you are taking the SCJP 1.2 exam. Please &lt;a href="http://not-a-real-namespace/http://not-a-real-namespace/mailto:ngabrani@javaprepare.com"&gt;let me know&lt;/a&gt; if you find any issues with the test. The site also offers &lt;a href="http://not-a-real-namespace/http://not-a-real-namespace/http://www.javaprepare.com/quests/test2.html"&gt;another mock exam&lt;/a&gt;. &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Which declaration of the      main method below would allow a class to be started as a standalone      program. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;public static int       main(char args[])&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(String args[])&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void &lt;st1:place&gt;MAIN&lt;/st1:place&gt;(String       args[])&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(String args)&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(char args[])&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed when      the following code is compiled and run? Select the three correct answers.&lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class xyz {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;for(int i = 0; i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;for(int j = 2; j&gt;= 0; j--) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;if(i == j) break;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println("i=" + i + " j="+j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt; &lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="2" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;i=0 j=0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i=0 j=1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i=0 j=2&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i=1 j=0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i=1 j=1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i=1 j=2&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i=2 j=0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i=2 j=1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i=2 j=2&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following code is compiled and run with the following command -&lt;br /&gt;   java test 2&lt;br /&gt;   Select the one correct answer.&lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt; &lt;span style=""&gt;  &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;Integer intObj=Integer.valueOf(args[args.length-1]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int i = intObj.intValue();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;if(args.length &gt; 1) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;if(args.length &gt; 0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;System.out.println(i - 1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;else &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;System.out.println(i - 2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="3" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;test&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;test -1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;In Java technology what      expression can be used to represent number of elements in an array named      arr ?&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;How would the number 5 be      represented in hex using up-to four characters. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following is a      Java keyword. Select the four correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;extern&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;synchronized&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;volatile&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;friend&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;friendly&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;transient&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;this&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;then&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Is the following statement      true or false. The constructor of a class must not have a return type. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;true&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;false&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the number of bytes      used by Java primitive long. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The number of bytes       is compiler dependent.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;8&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;64&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is returned when the      method substring(2, 4) is invoked on the string "example"?      Include the answer in quotes as the result is of type String.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following is      correct? Select the two correct answers.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The native keyword       indicates that the method is implemented in another language like C/C++. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The only statements       that can appear before an import statement in a Java file are comments. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The method       definitions inside interfaces are public and abstract. They cannot be       private or protected. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A class constructor       may have public or protected keyword before them, nothing else. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the result of      evaluating the expression 14 ^ 23. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;25 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;37 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;6 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;31 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;17 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;9 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;24 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      true. Select the one correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;&amp;&amp;amp; operator       is used for short-circuited logical &lt;st1:country-region&gt;&lt;st1:place&gt;AND.&lt;/st1:place&gt;&lt;/st1:country-region&gt;       &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;~ operator is the       bit-wise XOR operator. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;| operator is used to       perform bitwise OR and also short-circuited logical OR. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The unsigned right       shift operator in Java is &gt;&gt;. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the access modifier      which when used with a method, makes it available to all the classes in      the same package and to all the subclasses of the class. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following is      true. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;A class that is       abstract may not be instantiated. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The final keyword       indicates that the body of a method is to be found elsewhere. The code is       written in non-Java language, typically in C/C++. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A static variable       indicates there is only one copy of that variable. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A method defined as       private indicates that it is accessible to all other classes in the same       package.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed when      the following program is compiled and run. Select the two correct answers.      &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int i, j=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;i = (j&gt;1)?2:1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;switch(i) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;case 0: System.out.println(0); break;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;case 1: System.out.println(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;case 2: System.out.println(2); break;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;case 3: System.out.println(3); break;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="15" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed when      the following program is compiled and run. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;int i=0, j=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;do {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;i=++i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;j--;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;} while(j&gt;0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="16" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile because of statement "i=++i;" &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed when      the following gets compiled and run. Select the three correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;18.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;19.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;20.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;21.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int i=1, j=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;22.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;try {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;23.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;i++; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;24.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;j--;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;25.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;if(i/j &gt; 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;26.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                &lt;/span&gt;i++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;27.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;&lt;span style=""&gt;     &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;28.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;catch(ArithmeticException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;29.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println(0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;30.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;31.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;catch(ArrayIndexOutOfBoundsException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;32.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;33.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;34.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;catch(Exception e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;35.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println(2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;36.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;37.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;finally {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;38.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println(3);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;39.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;40.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(4);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;41.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;     &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;42.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;43.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;44.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="44" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed when      the following gets compiled and run. Select the two correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int i=1, j=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;try {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;i++; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;j--;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;if(i == j)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                &lt;/span&gt;i++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;catch(ArithmeticException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println(0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;catch(ArrayIndexOutOfBoundsException e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;catch(Exception e) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println(2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;finally {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;System.out.println(3);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(4);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;     &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="45" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed when      the following gets compiled and run. Select the two correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;String s1 = "abc";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;String s2 = "abc";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;if(s1 == s2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;if(s1.equals(s2))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(3);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(4);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="46" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What all gets printed when      the following gets compiled and run. Select the two correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;String s1 = "abc";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;String s2 = new String("abc");&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;if(s1 == s2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;if(s1.equals(s2))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(3);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(4);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="47" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      legal array declarations. Select the three correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;int i[5][];&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int i[][]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int []i[];&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int i[5][5]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int[][] a; &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the range of values      that can be specified for an int. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The range of values       is compiler dependent. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;31&lt;/sup&gt; to 2&lt;sup&gt;31&lt;/sup&gt;       - 1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;31&lt;/sup&gt;-1 to       2&lt;sup&gt;31&lt;/sup&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;15&lt;/sup&gt; to 2&lt;sup&gt;15&lt;/sup&gt;       - 1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-2&lt;sup&gt;15&lt;/sup&gt;-1 to       2&lt;sup&gt;15&lt;/sup&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;How can you ensure that the      memory allocated by an object is freed. Select the one correct answer.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;By invoking the free       method on the object. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;By calling       system.gc() method. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;By setting all       references to the object to new values (say null).&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Garbage collection       cannot be forced. The programmer cannot force the JVM to free the memory       used by an object.&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following code is compiled and run. Select the one correct answer.&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;int i = 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;do {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;i--;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;} while (i &gt; 2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="51" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-1 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these is a legal      definition of a method named m assuming it throws IOException, and returns      void. Also assume that the method does not take any arguments. Select the      one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;void m() throws       IOException{}&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void m() throw       IOException{}&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void m(void) throws       IOException{}&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;m() throws       IOException{}&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void m() {} throws       IOException&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      legal identifier names in Java. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;%abcd &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;$abcd &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1abcd &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;package &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;_a_long_name &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;At what stage in the      following method does the object initially referenced by s becomes      available for garbage collection. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;void method X()&lt;span style=""&gt;  &lt;/span&gt;{ &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;String r = new String("abc");&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;String s = new String("abc");&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;r = r+1; //1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;r = null; //2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;s = s + r; //3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;} //4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="54" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Before statement       labeled 1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Before statement       labeled 2 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Before statement       labeled 3 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Before statement       labeled 4 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Never. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;&lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;String s = new String("xyz");      &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;   Assuming the above declaration, which of the following statements would      compile. Select the one correct answer.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;s = 2 * s; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int i = s[0]; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;s = s + s; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;s = s &gt;&gt; 2; &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;None of the above. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      statements related to Garbage Collection are correct. Select the two      correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;It is possible for a       program to free memory at a given time. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Garbage Collection       feature of Java ensures that the program never runs out of memory. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;It is possible for a       program to make an object available for Garbage Collection. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The finalize method       of an object is invoked before garbage collection is performed on the       object. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;If a base class has a method      defined as&lt;br /&gt;   void method() { }&lt;br /&gt;   Which of the following are legal prototypes in a derived class of this      class. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;void method() { } &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int method() { return       0;}&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void method(int i) {       } &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;private void method()       { } &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;In which all cases does an      exception gets generated. Select the two correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt; color: red;"&gt;int i = 0, j = 1; &lt;/span&gt;&lt;/code&gt;&lt;/p&gt;  &lt;ol start="58" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;if((i == 0) || (j/i       == 1)) &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;if((i == 0) | (j/i ==       1)) &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;if((i != 0)       &amp;&amp;amp; (j/i == 1)) &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;if((i != 0) &amp;       (j/i == 1)) &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      statements are true. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The wait method       defined in the Thread class, can be used to convert a thread from Running       state to Waiting state. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The wait(), notify(),       and notifyAll() methods must be executed in synchronized code.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The notify() and       notifyAll() methods can be used to signal and move waiting threads to       ready-to-run state. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The Thread class is       an abstract class. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which keyword when applied      on a method indicates that only one thread should execute the method at a      time. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;transient &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;volatile&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;synchronized &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;native &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;static &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;final &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the name of the      Collection interface used to represent elements in a sequence (in a      particular order). Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Collection &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Set&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Map &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these classes      implement the Collection interface SortedMap. Select the one correct      answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;HashMap &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Hashtable&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;TreeMap &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;HashSet &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;TreeSet &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Vector &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      true about interfaces. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Methods declared in       interfaces are implicitly private. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Variables declared in       interfaces are implicitly public, static, and final. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;An interface can       extend any number of interfaces. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The keyword       implements indicate that an interface inherits from another. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Assume that class A extends      class B, which extends class C. Also all the three classes implement the      method test(). How can a method in a class A invoke the test() method      defined in class C (without creating a new instance of class C). Select      the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;test(); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;super.test(); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;super.super.test(); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;::test(); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;C.test(); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;It is not possible to       invoke test() method defined in C from a method in A. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;What is the return type of      method round(double d) defined in Math class. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;What gets written on the      screen when the following program is compiled and run. Select the one      right answer.&lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;int i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;float&lt;span style=""&gt;  &lt;/span&gt;f = 2.3f;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;double d = 2.7;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;i = ((int)Math.ceil(f)) * ((int)Math.round(d));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="66" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;4 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;5 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;6 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;6.1 &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;9 &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Is the following statement      true or false. As the toString method is defined in the Object class,      System.out.println can be used to print any object. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;true &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;false &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these classes      defined in java.io and used for file-handling are abstract. Select the two      correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;InputStream &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;PrintStream &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Reader &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FileInputStream &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FileWriter &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the collection      interface used to represent collections that maintain unique elements. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;What is the result of      compiling and running the following program. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;public class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;public static void main(String args[]) { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;String str1="abc";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;String str2="def";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;String str3=str1.concat(str2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;str1.concat(str2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;      &lt;/span&gt;System.out.println(str1);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="70" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;abc &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;def &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;abcabc &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;abcdef &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;defabc &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;abcdefdef &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Select the one correct      answer. The number of characters in an object of a class String is given      by &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The member variable       called size &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The member variable       called length &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The method size()       returns the number of characters. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The method length()       returns the number of characters. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Select the one correct      answer. Which method defined in Integer class can be used to convert an      Integer object to primitive int type. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;valueOf &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;intValue &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;getInt &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;getInteger &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the return type of      method hashCode() defined in Object class, which is used to get the unique      hash value of an Object. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      correct. Select the one correct answer.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;An import statement,       if defined, must always be the first non-comment statement of the file. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;private members are       accessible to all classes in the same package. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;An abstract class can       be declared as final. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Local variables       cannot be declared as static. &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the keyword that makes      a variable belong to a class, rather than being defined for each instance      of the class. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;static &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;final &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;abstract &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;native &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;volatile &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;transient &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are core      interfaces in the collection framework. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Tree &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Stack &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Queue &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Array &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;LinkedList &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Map &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these statements      are true. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;For each try block       there must be at least one catch block defined. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A try block may be       followed by any number of finally blocks. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;A try block must be       followed by at least one finally or catch block. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;If both catch and       finally blocks are defined, catch block must precede the finally block. &lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p style="margin-left: 0.5in;"&gt;The remaining questions are related to AWT, event classes, and layout managers. These topics are not included in 1.4 version of the exam. &lt;/p&gt;  &lt;ol start="78" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;The default layout manager      for a Frame is ... &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;FlowLayout &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;BorderLayout &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridLayout &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridBagLayout &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CardLayout &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      valid adapter classes in Java. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;ComponentAdapter &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ActionAdapter &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;AdjustmentAdapter &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;ItemAdapter &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;FocusAdapter &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which method defined in the      EventObject class returns the Object that generated an event. The method      should be given in the format - return_type method_name(); &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following      object receives ActionEvent. Select the four correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;List &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Button &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Choice &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CheckBox &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;TextField &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MenuItem &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Name the class that may be      used to create submenus in pull-down menus. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;In which class is the wait()      method defined. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Applet &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Runnable&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Thread &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Object &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which is the only layout      manager that always honors the size of a component. Select the one correct      answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;FlowLayout &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridLayout&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;BorderLayout &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;CardLayout &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;GridBagLayout &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are valid      Event Listener interfaces. Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;MouseMotionListener&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;WindowListener&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;DialogListener&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;PaintListener&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style=""&gt;Which abstract class is the      super class of all menu-related classes. &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;b&gt;Answers to Sample Test 1 &lt;/b&gt;&lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, f &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d. Note that the program      gets one command line argument - 2. args.length will get set to 1. So the      condition if(args.length &gt; 1) will fail, and the second check      if(args.length &gt; 0) will return true. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;arr.length &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Any of these is correct -      0x5, 0x05, 0X05, 0X5&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, f, g &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;"am" &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c. Please note that b is      not correct. A package statement may appear before an import statement. A      class constructor may be declared private also. Hence d is incorrect.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;protected &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, d, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, e . The option c is      incorrect because a Java identifier name cannot begin with a digit. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c, d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, d&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b, c&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;f&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;long&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;e&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, c&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Set&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;f &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;c, d &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, e &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Object getSource();&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b, e, f&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Menu&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a, b &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;MenuComponent &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;h2&gt;Mock Exam 2&lt;/h2&gt;  &lt;p&gt;The mock exam is modeled on the Sun Certification for Java 2 Programmer exam. The exam has 38 questions. The real exam may be a little tougher than this. You need to score 61% correct answers to clear the real exam. Please &lt;a href="http://not-a-real-namespace/http://not-a-real-namespace/mailto:ngabrani@javaprepare.com"&gt;let me know&lt;/a&gt; if you find any issues with this exam. Some differences between this and the real exam are given below. &lt;/p&gt;  &lt;ol start="1" type="a"&gt;&lt;li class="MsoNormal" style=""&gt;The real exam will be tougher      than this.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The real exam will have 59      questions. This one has only 38&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The real exam would have more      programmatic questions. Questions of the type - "what will happen      when this code is compiled".&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The real exam will have more      (and tougher) questions on threads and IO (for SCJP 1,2).&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"&gt;The first 29 questions are valid for both SCJP 1.2 and SCJP 1.4 . The last nine questions are related to User interface, and are valid only for the SCJP 1.2 exam. &lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      Java keywords? Select the three correct answers.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;external&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;implement&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;throw&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;void&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;integer&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;private&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;synchronize&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;unsigned&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="2" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Which of the following are      legal definitions of the main method that can be used to execute a class.      Select the one correct answer.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;public void       main(String args)&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static int       main(String args[])&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(String args[])&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;static public void &lt;st1:place&gt;MAIN&lt;/st1:place&gt;(String       args[])&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(string args[])&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;public static void       main(String *args)&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="3" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Which of these are legal      array declarations or definitions? Select the two correct answers. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;int[] []x[];&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int *x;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int x[5];&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;int[] x = {1,2,3};&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="4" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Name the collection interface      used to represent a sequence of numbers in a fixed order. &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 12pt 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="5" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;The class Hashtable is used      to implement which collection interface. Select the one correct answer. &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;Table&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;List&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Set&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;SortedSet&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Map&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="6" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following program is compiled and run? Select the one correct answer.&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;do {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;i++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;while(i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="6" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile as i is not initialized.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       but does not run.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs but does not print anything.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 0.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 1.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="7" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following program is compiled and run? Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;8.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;9.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;10.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;11.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class xyz {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;12.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;13.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;static int i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;14.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;15.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;16.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;17.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;18.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;19.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;while (i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;20.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;21.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;i--;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;22.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;23.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;24.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;25.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;26.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;27.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style=""&gt;   &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;28.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;29.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;30.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;31.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;32.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;ol start="32" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile as i is not initialized.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       but does not run.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program compiles       and runs but does not print anything.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 0.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program prints 1.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="33" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following program is compiled and run? Select the one correct answer.&lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;class xyz {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int i,j,k;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;for (i = 0; i &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;for(j=1; j &lt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                &lt;/span&gt;for(k=2; k&lt;5;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;             &lt;/span&gt;&lt;span style=""&gt;       &lt;/span&gt;if((i == j)&lt;span style=""&gt;   &lt;/span&gt;&amp;&amp;amp; (j==k))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                        &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                &lt;/span&gt;}&lt;span style=""&gt;                &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;ol start="33" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;2&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;3&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="34" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Using up to four characters      what is the Java representation of the number 23 in hex?&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 12pt 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="35" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following program is compiled and run? Select the one correct answer.&lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;static boolean check;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;if(check == true)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;i=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;i=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;if(i=2) i=i+2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;else i = i + 4;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;     &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in;"&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;ol start="35" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;3&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;5&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;6&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The program does not       compile because of the statement if(i=2)&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="36" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Select the one correct      answer. The smallest number that can be represented using short primitive      type in Java is - &lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;0&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-127&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-128&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-16384&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;-32768&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;The smallest number is       compiler dependent.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="37" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Given the following      declarations, which of the assignments given in the options below would      compile. Select the two correct answers. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;38.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;39.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;40.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;41.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;int i = 5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;42.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;43.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;boolean t = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;44.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;45.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;float f = 2.3F;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;46.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;47.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;double d = 2.3;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;48.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;49.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;50.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;ol start="50" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;t = (boolean) i;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;f = d;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;d = i;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;i = 5;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;f = 2.8;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="51" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What gets printed when the      following program is compiled and run. Select the one correct answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;52.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;53.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;54.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;55.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;public class incr {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;56.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;57.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;58.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;59.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int i , j;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;60.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;61.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;i = j = 3;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;62.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;63.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int n = 2 * ++i;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;64.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;65.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;int m = 2 * j++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;66.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;67.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(i + " " + j + " " + n + " " + m);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;68.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;69.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;70.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;71.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;72.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;73.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;74.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;ol start="74" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;4 4 8 6&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 4 8 8&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 4 6 6&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 3 8 6&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 3 8 8&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;4 4 6 8&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="75" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Given two non-negative      integers a and b and a String str, what is the number of characters in the      expression str.substring(a,b) . Select the one correct answer.&lt;/li&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;a + b&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;a - b&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b - a - 1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b - a + 1&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b - a&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;b&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="76" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What is the result of      compiling and running the following program. Select the one correct      answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;77.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;78.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;79.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;80.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;81.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;82.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;83.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;84.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;char ch;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;85.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;86.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;String test2 = "abcd";&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;87.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;88.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;String test = new String("abcd");&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;89.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;90.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;if(test.equals(test2)) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;91.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;92.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;if(test == test2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;93.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;94.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;span style=""&gt;         &lt;/span&gt;ch = test.charAt(0);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;95.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;96.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;97.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;98.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                &lt;/span&gt;ch = test.charAt(1);&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;           &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;99.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;100.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;101.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;102.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;else {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;103.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;104.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;if(test == test2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;105.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;106.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                &lt;/span&gt;ch = test.charAt(2);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;107.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;108.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;            &lt;/span&gt;else&lt;span style=""&gt;                &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;109.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;110.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;                &lt;/span&gt;ch = test.charAt(3);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;111.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;112.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;113.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;114.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;        &lt;/span&gt;System.out.println(ch);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;115.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;116.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;117.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;118.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;119.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;120.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;121.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;  &lt;ol start="121" type="1"&gt;&lt;ol start="1" type="A"&gt;&lt;li class="MsoNormal" style=""&gt;'a'&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;'b'&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;'c'&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;'d'&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;ol start="122" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;What is the result of      compiling and running the following program. Select the one correct      answer. &lt;/li&gt;&lt;/ol&gt;  &lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;123.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;124.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;125.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;126.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;class test {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;127.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;128.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;    &lt;/span&gt;public static void main(String args[]) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;129.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;130.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;     &lt;/span&gt;int i,j=0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;131.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;132.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;     &lt;/span&gt;for(i=10;i&lt;0;i--)&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;133.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;134.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;     &lt;/span&gt;switch(j) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;135.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;136.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;     &lt;/span&gt;case (0) :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;137.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;138.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;j=j+1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;139.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;140.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;     &lt;/span&gt;case(1):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;141.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;142.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;j=j+2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;143.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;144.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;         &lt;/span&gt;break;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="color: red;"&gt;&lt;span style=""&gt;145.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt; &lt;/
