OCA / OCP Java SE 8 Programmer Practice Tests
Scott Selikoff, Jeanne Boyarsky
- English
- ePUB (mobile friendly)
- Available on iOS & Android
OCA / OCP Java SE 8 Programmer Practice Tests
Scott Selikoff, Jeanne Boyarsky
About This Book
Test your knowledge and prepare for the OCA/OCP exams
OCA/OCP Java SE 8 Programmer Practice Tests complements the Sybex OCA: Oracle Certified Associate Java SE 8 Programmer I Certification Study Guide and the OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide for exams 1Z0-808 and 1ZO-809 by providing last minute review of 100% of exam objectives. Get the advantage of over 1, 000 expert crafted questions that not only provide the answer, but also give detailed explanations. You will have access tounique practicequestions that cover all 21 objective domains in the OCA/OCP exams in the format you desire--test questions can also be accessed via the Sybex interactive learning environment. Two additional practiceexams will ensure that you are ready for exam day. Whether you have studied with Sybex study guides for your OCA/OCP or have used another brand, this is your chance to test your skills.
- Access to all practicequestions online with the Sybex interactive learning environment
- Over 1, 000unique practice questions and 2 practiceexams include expert explanations
- Covers 100% of all 21 OCA/OCP objective domains for Exams 1Z0-809 and 1Z0-809
Studying the objectives are one thing, but diving deeper and uncovering areas where further attention is needed can increase your chance of exam day success. Full coverage of all domains shows you what to expect on exam day, and accompanying explanations help you pinpoint which objectives deserve another look.
Frequently asked questions
Information
PART I
OCA
Chapter 1
Java Basics
- Define the scope of variables
- Define the structure of a Java class
- Create executable Java applications with a main method; run a Java program from the command line; produce console output
- Import other Java packages to make them accessible in your code
- Compare and contrast the features and components of Java such as: platform independence, object orientation, encapsulation, etc.
- Which of the following method signatures is a valid declaration of an entry point in a Java application?
- public void main(String[] args)
- public static void main()
- private static void start(String[] mydata)
- public static final void main(String[] mydata)
- The following class diagram demonstrates the relationship between Gold and Silver, which extend the Metal class. Assume the attributes are all declared public. Which statement about the diagram is not true?
- The diagram demonstrates platform independence in Java.
- The diagram demonstrates object-oriented design in Java.
- The Gold and Silver classes inherit weight and color attributes from the Metal class.
- Gold does not inherit the luster attribute.
- What is the proper filename extension for a Java bytecode compiled file?
- .java
- .bytecode
- .class
- .dll
- Given that a Date class exists in both the java.util and java.sql packages, what is the result of compiling the following class?
1: import java.util.*;
2: import java.sql.*;
3: public class BirthdayManager {
4: private Date rob = new Date();
5: private java.util.Date sharon = new java.util.Date();
6: }
- The code does not compile because of lines 1 and 2.
- The code does not compile because of line 4.
- The code does not compile because of line 5.
- The code compiles without issue.
- Which of the following is not a facet of traditional object-oriented programming languages?
- Ob...