<?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:blogger='http://schemas.google.com/blogger/2008' 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-4482059662199036005</id><updated>2024-11-01T16:26:17.818+07:00</updated><category term="Download"/><category term="OCPJP"/><category term="Java Basic"/><category term="Certification"/><category term="Java Tutorial"/><category term="Game"/><category term="Hibernate"/><category term="Java Swing"/><category term="JavaFX"/><category term="About Java"/><category term="EJB"/><category term="Input Data"/><category term="Java Thread"/><category term="Opinion"/><category term="Tutorial"/><category term="Ajax"/><category term="Animation"/><category term="Array"/><category term="BufferedReader"/><category term="C#"/><category term="C++"/><category term="Cryptography"/><category term="Eclipse"/><category term="J2ME"/><category term="JDBC"/><category term="JMS"/><category term="JSP"/><category term="Java 2D"/><category term="Java 3D"/><category term="Java Advance"/><category term="Java Networking"/><category term="Java RMI"/><category term="Java Secrets"/><category term="Linux"/><category term="MySQL"/><category term="Oracle"/><category term="PHP"/><category term="SCJP"/><category term="SCWCD"/><category term="Scanner"/><category term="Silverlight"/><category term="Spring"/><category term="Web Service"/><category term="Wireless"/><title type='text'>Java Learning Center</title><subtitle type='html'>This is your world! It&#39;s not just Java</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>87</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-8148879114674911164</id><published>2011-10-24T15:34:00.003+07:00</published><updated>2011-10-24T15:38:45.465+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the Day  | OCPJP (35)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;7. public interface Ndesit { &lt;br /&gt;8. /* insert code here */ int score = 8; &lt;br /&gt;9. }&lt;br /&gt;&lt;br /&gt;Which 3 are valid on line 8? (Choose 3) &lt;br /&gt;A. final &lt;br /&gt;B. static &lt;br /&gt;C. native &lt;br /&gt;D. public &lt;br /&gt;E. private &lt;br /&gt;F. abstract &lt;br /&gt;G. protected</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/8148879114674911164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/8148879114674911164' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/8148879114674911164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/8148879114674911164'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-35.html' title='Quiz of the Day  | OCPJP (35)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-1918367429575577489</id><published>2011-10-09T16:27:00.002+07:00</published><updated>2011-10-09T17:07:30.671+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (34)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt; 3. class K {&lt;br /&gt; 4.   String name = &quot;kentang &quot;;&lt;br /&gt; 5.   String makeNoise() { return &quot;ngentang&quot;; }&lt;br /&gt; 6. }&lt;br /&gt; 7. class S extends K {&lt;br /&gt; 8.   String name = &quot;surikoyo &quot;;&lt;br /&gt; 9.   String makeNoise() { return &quot;nyurikoyo&quot;; }&lt;br /&gt;10. }&lt;br /&gt;11. public class ZK {&lt;br /&gt;12.   public static void main(String[] args) { new ZK().go(); }&lt;br /&gt;13.   void go() {&lt;br /&gt;14.     K k = new S();&lt;br /&gt;15.     System.out.println(k.name + k.makeNoise());&lt;br /&gt;16.   }&lt;br /&gt;17. }&lt;br /&gt;&lt;br /&gt;What is the result?&lt;br /&gt;&lt;br /&gt;A. kentang nyurikoyo&lt;br /&gt;B. surikoyo nyurikoyo&lt;br /&gt;C. kentang ngentang&lt;br /&gt;D. surikoyo ngentang&lt;br /&gt;E. Compilation fails&lt;br /&gt;F. An exception is thrown at runtime</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/1918367429575577489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/1918367429575577489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1918367429575577489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1918367429575577489'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-34.html' title='Quiz of the day | OCPJP (34)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-9045153306427224258</id><published>2011-10-08T11:06:00.001+07:00</published><updated>2011-10-09T17:02:29.592+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (33)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt; 1. public class Tingting implements Ayu &lt;br /&gt;          { public void doIt() { } }&lt;br /&gt; 2.&lt;br /&gt; 3. abstract class Phone1 extends Electronic { }&lt;br /&gt; 4.&lt;br /&gt; 5. abstract class Phone2 extends Electronic &lt;br /&gt;      { public void doIt(int x) { } }&lt;br /&gt; 6.&lt;br /&gt; 7. class Phone3 extends Electronic implements Ayu &lt;br /&gt;      { public void doStuff() { } }&lt;br /&gt; 8. &lt;br /&gt; 9. interface Device { public void doIt(); }&lt;br /&gt;&lt;br /&gt; What is the result? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt; A. Compilation succeeds&lt;br /&gt; B. Compilation fails with an error on line 1&lt;br /&gt; C. Compilation fails with an error on line 3&lt;br /&gt; D. Compilation fails with an error on line 5&lt;br /&gt; E. Compilation fails with an error on line 7&lt;br /&gt; F. Compilation fails with an error on line 9&lt;br /&gt;&lt;br /&gt;DOWNLOAD the answer</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/9045153306427224258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/9045153306427224258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/9045153306427224258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/9045153306427224258'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-33.html' title='Quiz of the day | OCPJP (33)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-875442355254944666</id><published>2011-10-07T13:14:00.001+07:00</published><updated>2011-10-07T13:22:36.651+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (32)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;1. class Pocong {&lt;br /&gt;2.   public static void main(String[] args) {&lt;br /&gt;3.     doStuff(8);&lt;br /&gt;4.     doStuff(8,9);&lt;br /&gt;5.   }&lt;br /&gt;6.   // insert code here&lt;br /&gt;7. }&lt;br /&gt;&lt;br /&gt;Which, inserted independently at line 6, will compile? (Choose all that &lt;br /&gt;&lt;br /&gt;apply.)&lt;br /&gt;&lt;br /&gt;A. static void doStuff(int... doArgs) { } &lt;br /&gt;B. static void doStuff(int[] doArgs) { }&lt;br /&gt;C. static void doStuff(int doArgs...) { }&lt;br /&gt;D. static void doStuff(int... doArgs, int y) { }&lt;br /&gt;E. static void doStuff(int x, int... doArgs) { }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/download.php?u3ycf9wkwqc90sy&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/875442355254944666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/875442355254944666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/875442355254944666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/875442355254944666'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-32.html' title='Quiz of the day | OCPJP (32)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-1520486028842172506</id><published>2011-10-06T20:17:00.001+07:00</published><updated>2011-10-06T20:35:40.431+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (31)</title><content type='html'>Which method names follow the JavaBeans standard? (Choose all that apply.)&lt;br /&gt;        &lt;br /&gt;A. addBook&lt;br /&gt;B. getProduct&lt;br /&gt;C. deleteShirt&lt;br /&gt;D. isThree&lt;br /&gt;E. putBall&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/download.php?bx4ghtrpan6q4e3&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/1520486028842172506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/1520486028842172506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1520486028842172506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1520486028842172506'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-31.html' title='Quiz of the day | OCPJP (31)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-1698402998873158312</id><published>2011-10-05T22:13:00.002+07:00</published><updated>2011-10-05T22:30:44.585+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (30)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt; 4. class WongJowo {&lt;br /&gt; 5.   public static void main(String[] args) {&lt;br /&gt; 6.     for(int __w = 0; __w &lt; 5; __w++) ;&lt;br /&gt; 7.     int #jw = 8;                          &lt;br /&gt; 8.     long [] x [2];                       &lt;br /&gt; 9.     Boolean []wj[];&lt;br /&gt;10.     enum Lanang { NGGANTENG, GAGAH, PINTER };&lt;br /&gt;11.   }&lt;br /&gt;12. }&lt;br /&gt;&lt;br /&gt;What is the result? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. Compilation succeeds&lt;br /&gt;B. Compilation fails with an error on line 6&lt;br /&gt;C. Compilation fails with an error on line 7&lt;br /&gt;D. Compilation fails with an error on line 8&lt;br /&gt;E. Compilation fails with an error on line 9&lt;br /&gt;F. Compilation fails with an error on line 10&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/download.php?v3263yhgvy0qf30&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/1698402998873158312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/1698402998873158312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1698402998873158312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1698402998873158312'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-30.html' title='Quiz of the day | OCPJP (30)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-7267005682442133163</id><published>2011-10-04T08:59:00.002+07:00</published><updated>2011-10-04T09:09:20.125+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (29)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;3. public class Bunga {&lt;br /&gt;4. public enum Kembang { MAWAR, SETAMAN, DESA };&lt;br /&gt;5. public static void main(String[] args) {&lt;br /&gt;6. for(Kembang k : Kembang.values() )&lt;br /&gt;7. ;&lt;br /&gt;8. Kembang [] k2 = Kembang.values();&lt;br /&gt;9. System.out.println(k2[2]);&lt;br /&gt;10. }&lt;br /&gt;11. }&lt;br /&gt;&lt;br /&gt;What is the result? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. SETAMAN&lt;br /&gt;B. DESA&lt;br /&gt;C. The output is unpredictable&lt;br /&gt;D. Compilation fails due to an error on line 4&lt;br /&gt;E. Compilation fails due to an error on line 6&lt;br /&gt;F. Compilation fails due to an error on line 8&lt;br /&gt;G. Compilation fails due to an error on line 9&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href = &quot;http://www.mediafire.com/download.php?37r3q1d6e5erc9r&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/7267005682442133163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/7267005682442133163' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/7267005682442133163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/7267005682442133163'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-29.html' title='Quiz of the day | OCPJP (29)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-1641149203499871281</id><published>2011-10-03T13:27:00.002+07:00</published><updated>2011-10-03T14:15:53.970+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (28)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;4. public class Kancil extends Kijang {&lt;br /&gt;5. public static void main(String[] args) {&lt;br /&gt;6. Short sikil = 4;&lt;br /&gt;7. System.out.println(jumlah(sikil, 4));&lt;br /&gt;8. }&lt;br /&gt;9. }&lt;br /&gt;10. class Kijang {http://www.blogger.com/img/blank.gif&lt;a href=&quot;http://www.mediafire.com/download.php?riwrkqd7p9hz7rd&quot;&gt;&lt;/a&gt;&lt;br /&gt;11. int jumlah(int x, int y) { return x + y; }&lt;br /&gt;12. }&lt;br /&gt;&lt;br /&gt;What is the result?&lt;br /&gt;&lt;br /&gt;A. 8&lt;br /&gt;B. Compilation fails due to multiple errors&lt;br /&gt;C. Compilation fails due to an error on line 6&lt;br /&gt;D. Compilation fails due to an error on line 7&lt;br /&gt;E. Compilation fails due to an error on line 11</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/1641149203499871281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/1641149203499871281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1641149203499871281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1641149203499871281'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-28.html' title='Quiz of the day | OCPJP (28)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-6479778798402351129</id><published>2011-10-02T22:02:00.002+07:00</published><updated>2011-10-02T22:15:31.101+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (27)</title><content type='html'>Given two files:&lt;br /&gt;&lt;br /&gt; 1. package x;&lt;br /&gt; 2. public class J {&lt;br /&gt; 3.   int a = 1;&lt;br /&gt; 4.   protected int b = 2;&lt;br /&gt; 5.   public int c = 3;&lt;br /&gt; 6. }&lt;br /&gt; &lt;br /&gt; 3. package y;&lt;br /&gt; 4. import x.*;&lt;br /&gt; 5. public class H {&lt;br /&gt; 6.   public static void main(String[] args) {&lt;br /&gt; 7.     J j = new J();&lt;br /&gt; 8.     System.out.print(&quot; &quot; + j.a);&lt;br /&gt; 9.     System.out.print(&quot; &quot; + j.b);&lt;br /&gt;10.     System.out.print(&quot; &quot; + j.c);&lt;br /&gt;11.   }&lt;br /&gt;12. }&lt;br /&gt;&lt;br /&gt;http://www.blogger.com/img/blank.gif&lt;br /&gt;What is the result? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. 1 2 3&lt;br /&gt;B. 1 followed by an exception&lt;br /&gt;C. Compilation fails with an error on line 7&lt;br /&gt;D. Compilation fails with an error on line 8&lt;br /&gt;E. Compilation fails with an error on line 9&lt;br /&gt;F. Compilation fails with an error on line 10&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?b443ew7pnapdwbz&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/6479778798402351129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/6479778798402351129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6479778798402351129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6479778798402351129'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-27.html' title='Quiz of the day | OCPJP (27)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-5669324129222482961</id><published>2011-10-01T09:50:00.002+07:00</published><updated>2011-10-01T10:03:26.635+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (26)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt; 1. enum Kewan {&lt;br /&gt; 2.   KIRIK(&quot;guk&quot;), KUCING(&quot;meong&quot;), WEDUS(&quot;mbek&quot;);&lt;br /&gt; 3.   String suoro;&lt;br /&gt; 4.   Kewan(String s) { suoro = s; }&lt;br /&gt; 5. }&lt;br /&gt; 6. class Enum {&lt;br /&gt; 7.   static Kewan a;&lt;br /&gt; 8.   public static void main(String [] args) {&lt;br /&gt; 9.     System.out.println(a.KIRIK.suoro + &quot; &quot; + a.WEDUS.suoro);&lt;br /&gt;10.   }&lt;br /&gt;11. }&lt;br /&gt;&lt;br /&gt;What is the result?&lt;br /&gt;&lt;br /&gt;A.   guk mbek&lt;br /&gt;B.   Multiple compilation errors&lt;br /&gt;C.   Compilation fails due to an error on line 2&lt;br /&gt;D.   Compilation fails due to an error on line 3&lt;br /&gt;E.   Compilation fails due to an error on line 4&lt;br /&gt;F.   Compilation fails due to an error on line 9&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?0dplsph4sp12kwy&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/5669324129222482961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/5669324129222482961' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/5669324129222482961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/5669324129222482961'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-26.html' title='Quiz of the day | OCPJP (26)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-4789174118946950341</id><published>2011-10-01T09:50:00.000+07:00</published><updated>2011-10-01T10:01:02.532+07:00</updated><title type='text'>Quiz of the day | OCPJP (22)</title><content type='html'>&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/4789174118946950341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/4789174118946950341' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/4789174118946950341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/4789174118946950341'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/10/quiz-of-day-ocpjp-22.html' title='Quiz of the day | OCPJP (22)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-3793347853744607501</id><published>2011-09-30T08:53:00.002+07:00</published><updated>2011-09-30T09:16:31.593+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (25)</title><content type='html'>Which is true? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. &quot;C extends I&quot; is correct if and only if C is a class and I is an interface&lt;br /&gt;B. &quot;C extends I&quot; is correct if and only if C is an interface and I is a class&lt;br /&gt;C. &quot;C extends I&quot; is correct if C and I are either both classes or both interfaces&lt;br /&gt;D. &quot;C extends I&quot; is correct for all combinations of C and I being classes and/or interfaces&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?dq5iasrkbop8s5p&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/3793347853744607501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/3793347853744607501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/3793347853744607501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/3793347853744607501'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-25.html' title='Quiz of the day | OCPJP (25)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-6892592131962048703</id><published>2011-09-29T07:59:00.001+07:00</published><updated>2011-09-29T08:09:00.188+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (24)</title><content type='html'>3. public class J {&lt;br /&gt;4. public static void main(String[] args) {&lt;br /&gt;5. int j = 7;&lt;br /&gt;6. assert(++j &gt; 7);&lt;br /&gt;7. assert(++j &gt; 8): &quot;Jakarta&quot;;&lt;br /&gt;8. assert(j &gt; 10): j=12;&lt;br /&gt;9. assert(j==12): macet();&lt;br /&gt;10. assert(j==12): new J();&lt;br /&gt;11. }&lt;br /&gt;12. static void macet() { }&lt;br /&gt;13. }&lt;br /&gt;&lt;br /&gt;Which are true? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. Compilation succeeds&lt;br /&gt;B. Compilation fails due to an error on line 6&lt;br /&gt;C. Compilation fails due to an error on line 7&lt;br /&gt;D. Compilation fails due to an error on line 8&lt;br /&gt;E. Compilation fails due to an error on line 9&lt;br /&gt;F. Compilation fails due to an error on line 10&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?6g85rinw2fg0h71&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/6892592131962048703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/6892592131962048703' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6892592131962048703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6892592131962048703'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-24.html' title='Quiz of the day | OCPJP (24)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-6136182803687751652</id><published>2011-09-28T09:43:00.002+07:00</published><updated>2011-09-28T10:10:33.114+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (23)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;3. class A {&lt;br /&gt;4. public void a() { System.out.print(&quot;A &quot;); }&lt;br /&gt;5. }&lt;br /&gt;6. class B extends A {&lt;br /&gt;7. public void b() { System.out.print(&quot;B &quot;); }&lt;br /&gt;8. public void a() { System.out.print(&quot;a &quot;); }&lt;br /&gt;9. }&lt;br /&gt;10. public class C {&lt;br /&gt;11. public static void main(String[] args) { new C().c(); }&lt;br /&gt;12. void c() {&lt;br /&gt;13. new B().a();&lt;br /&gt;14. ((A) new B()).a();&lt;br /&gt;15. ((A) new B()).b();&lt;br /&gt;16. }&lt;br /&gt;17. }&lt;br /&gt;&lt;br /&gt;What is the result? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. a a B&lt;br /&gt;B. a A B&lt;br /&gt;C. a a followed by an exception&lt;br /&gt;D. a A followed by an exception&lt;br /&gt;E. Compilation fails with an error at line 14&lt;br /&gt;F. Compilation fails with an error at line 15&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?456sy9xm1brayy9&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/6136182803687751652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/6136182803687751652' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6136182803687751652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6136182803687751652'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-23.html' title='Quiz of the day | OCPJP (23)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-3202765776357728475</id><published>2011-09-27T22:29:00.002+07:00</published><updated>2011-09-27T22:47:08.083+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (22)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt; 1. enum Menu {HOME, ABOUT, CONTACT}; &lt;br /&gt; 2. public class Main { &lt;br /&gt; 3.   public static void main(String[] args) { &lt;br /&gt; 4.     Main m = new Main(); &lt;br /&gt; 5.     Menu[] v = Menu.values(); &lt;br /&gt; 6.     v = Menu.getValues(); &lt;br /&gt; 7.     for(Menu me: Menu.values())   m.getEnum(me); &lt;br /&gt; 8.     for(int x = 0; x &lt; Menu.values().length; x++)   m.getEnum(v[x]); &lt;br /&gt; 9.     for(int x = 0; x &lt; Menu.length; x++)   m.getEnum(v[x]); &lt;br /&gt;10.     for(Menu me: v)   m.getEnum(me); &lt;br /&gt;11.   }   &lt;br /&gt;12.   public void getEnum(Menu e) { &lt;br /&gt;13.     System.out.print(e + &quot; &quot;); &lt;br /&gt;14. } }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Which line(s) of code will cause a compiler error? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. line 1&lt;br /&gt;B. line 5&lt;br /&gt;C. line 6&lt;br /&gt;D. line 7&lt;br /&gt;E. line 8&lt;br /&gt;F. line 9&lt;br /&gt;G. line 10&lt;br /&gt;H. line 12 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?3ddgkgttm5kdir7&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/3202765776357728475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/3202765776357728475' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/3202765776357728475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/3202765776357728475'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-22.html' title='Quiz of the day | OCPJP (22)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-4626714006531249491</id><published>2011-09-26T08:12:00.001+07:00</published><updated>2011-09-26T08:21:18.597+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (21)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;3. public class Sep26 {&lt;br /&gt;4. public static void main(String[] args) {&lt;br /&gt;5. short f4 = 4;&lt;br /&gt;6. new Sep26().go(f4);&lt;br /&gt;7. new Sep26().go(new Integer(8));&lt;br /&gt;8. }&lt;br /&gt;9. void go(Short s) { System.out.print(&quot;S &quot;); }&lt;br /&gt;10. void go(Long l) { System.out.print(&quot;L &quot;); }&lt;br /&gt;11. void go(int i) { System.out.print(&quot;i &quot;); }&lt;br /&gt;12. void go(Number n) { System.out.print(&quot;N &quot;); }&lt;br /&gt;13. }&lt;br /&gt;&lt;br /&gt;What is the result?&lt;br /&gt;&lt;br /&gt;A. i L&lt;br /&gt;B. i N&lt;br /&gt;C. S L&lt;br /&gt;D. S N&lt;br /&gt;E. Compilation fails.&lt;br /&gt;F. An exception is thrown at runtime.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?cgd7xcj3608d078&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/4626714006531249491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/4626714006531249491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/4626714006531249491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/4626714006531249491'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-21.html' title='Quiz of the day | OCPJP (21)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-4299026283213671947</id><published>2011-09-25T21:56:00.001+07:00</published><updated>2011-09-26T00:00:25.975+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (20)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt; 2. public class X { &lt;br /&gt; 3.   private int g = 3; &lt;br /&gt; 4.   public static void main(String[] args) { &lt;br /&gt; 5.     new X().xii(); &lt;br /&gt; 6.   } &lt;br /&gt; 7.   void xii() { &lt;br /&gt; 8.     int x = 6; &lt;br /&gt; 9.     Y y = new Y(); &lt;br /&gt;10.     class Y { &lt;br /&gt;11.       void yii() { System.out.println(g + x); } &lt;br /&gt;12.     } &lt;br /&gt;13.     y.yii(); &lt;br /&gt;14.   } &lt;br /&gt;15. }   &lt;br /&gt;&lt;br /&gt;What is the result? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. Compilation succeeds.&lt;br /&gt;B. Compilation fails due to an error on line 3.&lt;br /&gt;C. Compilation fails due to an error on line 8.&lt;br /&gt;D. Compilation fails due to an error on line 9.&lt;br /&gt;E. Compilation fails due to an error on line 10.&lt;br /&gt;F. Compilation fails due to accessing x on line 11.&lt;br /&gt;G. Compilation fails due to accessing y on line 11.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?r2pg6619gg2nmba&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/4299026283213671947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/4299026283213671947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/4299026283213671947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/4299026283213671947'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-20.html' title='Quiz of the day | OCPJP (20)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-6419138525640487447</id><published>2011-09-24T08:41:00.001+07:00</published><updated>2011-09-24T08:43:54.126+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (19)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;3. public class O {&lt;br /&gt;4. private int a = 2;&lt;br /&gt;5. protected int s = 3;&lt;br /&gt;6. private static int d = 4;&lt;br /&gt;7. protected static int f = 5;&lt;br /&gt;8. public static void main(String[] args) {&lt;br /&gt;9. int a = 6; int s = 7;&lt;br /&gt;10. int d = 8; int f = 9;&lt;br /&gt;11. new O().new P().p();&lt;br /&gt;12. }&lt;br /&gt;13. class P {&lt;br /&gt;14. void p() { System.out.println(a + &quot; &quot; + s + &quot; &quot; + d + &quot; &quot; + f); }&lt;br /&gt;15. } }&lt;br /&gt;&lt;br /&gt;What is the result?&lt;br /&gt;&lt;br /&gt;A. 2 3 4 5&lt;br /&gt;B. 2 7 4 9&lt;br /&gt;C. 6 3 8 4&lt;br /&gt;D. 6 7 8 9&lt;br /&gt;E. Compilation fails due to multiple errors.&lt;br /&gt;F. Compilation fails due only to an error on line 11.&lt;br /&gt;G. Compilation fails due only to an error on line 14.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?yqv40pk44h19d4f&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/6419138525640487447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/6419138525640487447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6419138525640487447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6419138525640487447'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-19.html' title='Quiz of the day | OCPJP (19)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-1131150634344102231</id><published>2011-09-23T08:21:00.003+07:00</published><updated>2011-09-24T08:44:34.444+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (18)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;2. interface A { void a(); }&lt;br /&gt;3. // insert code here&lt;br /&gt;&lt;br /&gt;Which code, inserted independently at line 3, will compile? (Choose &lt;br /&gt;&lt;br /&gt;all that apply.)&lt;br /&gt;&lt;br /&gt;A. interface B extends A { }&lt;br /&gt;B. interface B extends A { void a(); }&lt;br /&gt;C. interface B extends A { void doA(); }&lt;br /&gt;D. interface B extends A { void a() { ; } }&lt;br /&gt;E. interface B extends A { protected void a(); }&lt;br /&gt;F. interface B extends A { void a(); void doA(); }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?ijll59ympf1t5w5&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/1131150634344102231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/1131150634344102231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1131150634344102231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1131150634344102231'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-18.html' title='Quiz of the day | OCPJP (18)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-8235675994427454680</id><published>2011-09-22T08:53:00.002+07:00</published><updated>2011-09-22T08:56:01.324+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (17)</title><content type='html'>Which are valid command-line switches when working with assertions? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. -ea&lt;br /&gt;B. -da&lt;br /&gt;C. -dsa&lt;br /&gt;D. -eva&lt;br /&gt;E. -enableassertions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?m9ugv7fb2m94bcw&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/8235675994427454680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/8235675994427454680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/8235675994427454680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/8235675994427454680'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-17.html' title='Quiz of the day | OCPJP (17)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-8370844991737449133</id><published>2011-09-21T08:24:00.001+07:00</published><updated>2011-09-21T08:37:40.367+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (16)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;2. import java.text.*;&lt;br /&gt;3. import java.util.*;&lt;br /&gt;4. public class DF {&lt;br /&gt;5. public static void main(String[] args) {&lt;br /&gt;6. DateFormat df1 = DateFormat.getInstance();&lt;br /&gt;7. DateFormat df2 = DateFormat.getInstance(DateFormat.SHORT);&lt;br /&gt;8. DateFormat df3 = DateFormat.getDateInstance(DateFormat.FULL);&lt;br /&gt;9. DateFormat df4 = DateFormat.getDateInstance(DateFormat.EXTENDED);&lt;br /&gt;10. } }&lt;br /&gt;&lt;br /&gt;Which are true? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. Line 2 is not necessary.&lt;br /&gt;B. Line 3 is not necessary.&lt;br /&gt;C. Compilation fails due to an error on line 6.&lt;br /&gt;D. Compilation fails due to an error on line 7.&lt;br /&gt;E. Compilation fails due to an error on line 8.&lt;br /&gt;F. Compilation fails due to an error on line 9.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?im436tzvobp6vtb&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/8370844991737449133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/8370844991737449133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/8370844991737449133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/8370844991737449133'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-16.html' title='Quiz of the day | OCPJP (16)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-1498255164421025456</id><published>2011-09-20T11:33:00.001+07:00</published><updated>2011-09-20T12:56:24.018+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (15)</title><content type='html'>Given:&lt;br /&gt;&lt;br /&gt;2. public class X {&lt;br /&gt;3. static int x = 1;&lt;br /&gt;4. public static void main(String[] args) {&lt;br /&gt;5. int x = 2;&lt;br /&gt;6. for(int i=0; i&lt; 3; i++) {&lt;br /&gt;7. if(i==1) System.out.print(x + &quot; &quot;);&lt;br /&gt;8. }&lt;br /&gt;9. go();&lt;br /&gt;10. System.out.print(x + &quot; &quot; + i);&lt;br /&gt;11. }&lt;br /&gt;12. static void go() { int x = 3; }&lt;br /&gt;13. }&lt;br /&gt;&lt;br /&gt;What is the result?&lt;br /&gt;A. 1 2 2&lt;br /&gt;B. 2 2 2&lt;br /&gt;C. 2 2 3&lt;br /&gt;D. 2 3 2&lt;br /&gt;E. Compilation fails.&lt;br /&gt;F. An exception is thrown at runtime.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?j3e4v2al9lavcfl&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/1498255164421025456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/1498255164421025456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1498255164421025456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/1498255164421025456'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-15.html' title='Quiz of the day | OCPJP (15)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-2589101749589334176</id><published>2011-09-19T08:08:00.001+07:00</published><updated>2011-09-19T08:59:11.442+07:00</updated><title type='text'>Quiz of the day | OCPJP (14)</title><content type='html'>1.  import java.util.*;&lt;br /&gt; 2.  public class BCA {&lt;br /&gt; 3.  public static void main(String[] args) {&lt;br /&gt; 4.  List&lt;String&gt; desk = new ArrayList&lt;String&gt;();&lt;br /&gt; 5.  desk.add(&quot;b&quot;); desk.add(&quot;c&quot;); desk.add(&quot;a&quot;);&lt;br /&gt; 6.  Collection.sort(desk);&lt;br /&gt; 7.  System.out.print(desk.indexOf(&quot;b&quot;));&lt;br /&gt; 8.  Collection.reverse(desk);&lt;br /&gt; 9.  System.out.print(&quot; &quot; + desk.indexOf(&quot;c&quot;));&lt;br /&gt; 10. System.out.println(&quot; &quot; + desk.indexOf(&quot;a&quot;));&lt;br /&gt; 11. } }&lt;br /&gt;&lt;br /&gt;What is the result?&lt;br /&gt;&lt;br /&gt;A. 1 2 0&lt;br /&gt;B. 2 2 1&lt;br /&gt;C. 2 0 2&lt;br /&gt;D. 1 0 2&lt;br /&gt;E. Compilation fails.&lt;br /&gt;F. An exception is thrown at runtime.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?z5h8rr9cgyqnytc&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/2589101749589334176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/2589101749589334176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/2589101749589334176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/2589101749589334176'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-14.html' title='Quiz of the day | OCPJP (14)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-6829096344276551456</id><published>2011-09-18T00:15:00.001+07:00</published><updated>2011-09-19T08:07:59.150+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (13)</title><content type='html'>2. class Parent { &lt;br /&gt; 3.   static String parent = &quot;&quot;; &lt;br /&gt; 4.   void doStuff() { parent += &quot;parent &quot;; } &lt;br /&gt; 5. } &lt;br /&gt; 6. public class Child extends Parent {   &lt;br /&gt; 7.   public static void main(String[] args) { &lt;br /&gt; 8.     new Child().go(); &lt;br /&gt; 9.   } &lt;br /&gt;10.   void go() { &lt;br /&gt;11.     Parent p = new Child();    &lt;br /&gt;12.     Child c = (Child)p;    &lt;br /&gt;13.     // insert code here &lt;br /&gt;14.   } &lt;br /&gt;15.   void doStuff() { parent += &quot;child &quot;; } &lt;br /&gt;16. }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If the rest of the code compiles, which line(s) of code, inserted independently at line 13, compile? (Choose all that apply.)&lt;br /&gt;&lt;br /&gt;A. c.doStuff();&lt;br /&gt;B. p.doStuff();&lt;br /&gt;C. this.doStuff();&lt;br /&gt;D. super.doStuff();&lt;br /&gt;E. c.super.doStuff();  &lt;br /&gt;F. p.super.doStuff(); &lt;br /&gt;G. this.super.doStuff(); &lt;br /&gt;H. There are other errors in the code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?u4yphhfidy7cd6j&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/6829096344276551456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/6829096344276551456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6829096344276551456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/6829096344276551456'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-13.html' title='Quiz of the day | OCPJP (13)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4482059662199036005.post-5403066936157803763</id><published>2011-09-17T08:52:00.002+07:00</published><updated>2011-09-17T08:59:18.508+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OCPJP"/><title type='text'>Quiz of the day | OCPJP (12)</title><content type='html'>3. public class C {&lt;br /&gt;4. public static void main(String[] c) {&lt;br /&gt;5. int i = 23;&lt;br /&gt;6. Integer i2;&lt;br /&gt;7. Integer i3;&lt;br /&gt;8. i2 = i.intValue();&lt;br /&gt;9. i3 = i.valueOf(23);&lt;br /&gt;10. System.out.println((i == i2) + &quot; &quot; + (i == i3));&lt;br /&gt;11. } }&lt;br /&gt;&lt;br /&gt;What is the result?&lt;br /&gt;A. true true&lt;br /&gt;B. true false&lt;br /&gt;C. false true&lt;br /&gt;D. false false&lt;br /&gt;E. Compilation fails.&lt;br /&gt;F. An exception is thrown at runtime.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/?knhamarnaekd9rx&quot;&gt;DOWNLOAD the answer&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://javalearningcenter.blogspot.com/feeds/5403066936157803763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4482059662199036005/5403066936157803763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/5403066936157803763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4482059662199036005/posts/default/5403066936157803763'/><link rel='alternate' type='text/html' href='http://javalearningcenter.blogspot.com/2011/09/quiz-of-day-ocpjp-12.html' title='Quiz of the day | OCPJP (12)'/><author><name>Paiman</name><uri>http://www.blogger.com/profile/14872628481403655925</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuAHBK4uB_lFp5OJFJIy-LL38ASIQ_gVpc0O43IBIhqLh4AXaLqBIo88H2lbZN7nJvHdR14GspRVjJrwtPcWiHf6eLgBHsub523vczFS9PPSXKb25F6eIKCCBy_Hvj4L8/s220/study_hard_wallpaper_by_ims_corner-d330tcx.jpg'/></author><thr:total>0</thr:total></entry></feed>