Java Magazine, Mar/Apr 2018
Quiz Yourself Intermediate and advanced test questions ORACLE COM JAVAMAGAZINE MARCH APRIL 2018 94 fix this If youre a regular reader of this quiz you know that these questions simulate the level of difficulty of two diferent certification tests Questions marked intermediate correspond to those from the Oracle Certified Associate exam which contains questions for a preliminary level of certification Questions marked advanced come from the 1Z0 809 Programmer II exam which is the certification test for developers who have been certified at a basic level of Java 8 programming knowledge and now are looking to demonstrate more advanced expertise These questions rely on Java 8 Well begin covering Java 9 and 10 in future columns of course and we will make that transition clear when it occurs Question 1 intermediate The main method that represents the entry point of a typical Java program must match a particular form Which of the following are true Choose two A The method must be public B The method may be any accessibility type except private C The method may be either an instance method or static D The argument list must be declared exactly as String args E The argument list may be declared as String args Question 2 intermediate Which are true of a Java program or the JVM Choose two A The program runs substantially more slowly than an equivalent program written in a language that compiles to machine binary code because Java bytecode is interpreted SIMON ROBERTS MIKALAI ZAIKIN
You must have JavaScript enabled to view digital editions.