Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Studying from an older book? Here's what you need to know?

If you're using a book that covers the SCJP/OCJP 6, also see OCAJP7andOCPJP7vsOCJP6 and OCAJP7andOCPJP7vsOCJP6

Between the OCAJP 7 and 8, there were only a few new topics (and some re-ordering of topics in the objectives) THere are also a few language changes to be aware of:
  • The keywords default and static are allowed in interfaces in Java 8, but not Java 7.
  • The final keyword is allowed to be implied in certain cases in Java 8. (This only affects the OCP 8, not the OCA 8)


  • OCA 8 ObjectiveOCP 8 TextOCA 7 Objective
    Java Basics
    1.1Define the scope of variables1.1
    1.2Define the structure of a Java class1.2
    1.3Create executable Java applications with a main method; run a Java program from the command line; including console output.1.3 + new topic
    1.4Import other Java packages to make them accessible in your code1.4
    1.5Compare and contrast the features and components of Java such as: platform independence, object orientation, encapsulation, etc.n/a - new topic
    Working With Java Data Types
    2.1Declare and initialize variables (including casting of primitive data types)2.1
    2.2Differentiate between object reference variables and primitive variables2.2
    2.3Know how to read or write to object fields2.3
    2.4Explain an Object's Lifecycle (creation, "dereference by reassignment" and garbage collection)2.4
    2.5Use call methods on user-created wrapper class objects (grammatical error reported to Oracle - think this means primitive wrappersn/a - new topic
    Using Operators and Decision Constructs Â
    3.1Use Java operators; including parentheses to override operator precedence3.1, 3.2
    3.3Test equality between Strings and other objects using == and equals ()3.3
    3.4Create if and if/else constructs and ternary constructs3.4
    3.5Use a switch statement3.5
    Creating and Using Arrays
    4.1Declare, instantiate, initialize and use a one-dimensional array4.1
    4.2Declare, instantiate, initialize and use multi-dimensional array4.2
    Using Loop Constructs
    5.1Create and use while loops5.1
    5.2Create and use for loops including the enhanced for loop5.2
    5.3Create and use do/while loops5.3
    5.4Compare loop constructs5.4
    5.5Use break and continue Â5.5
    Working with Methods and Encapsulation
    6.1Create methods with arguments and return values; including overloaded methods6.1, 6.3
    6.2Apply the static keyword to methods and fields Â6.2
    6.5Create and overload constructors; including impact on default constructors6.4, 6.5
    6.6Apply access modifiers6.6
    6.7Apply encapsulation principles to a class6.7
    6.8Determine the effect upon object references and primitive values when they are passed into methods that change the values6.8
    Working with Inheritance
    7.1Describe the hierarchy of implementing inheritance7.1
    7.2Develop code that demonstrates the use of polymorphism5.2
    7.3Differentiate between the type of a reference and the type of an object; including overriding and object type versus reference type7.2, 7.3
    7.4Determine when casting is necessary7.4
    7.5Use super and this to access objects and constructors7.5
    7.6Use abstract classes and interfaces7.6
    Handling Exceptions
    8.1Differentiate among checked exceptions, RuntimeExceptions and Errors8.1
    8.2Create a try-catch block and determine how exceptions alter normal program flow8.2
    8.3Describe the advantages of Exception handling8.3
    8.4Invoke a method that throws an exception8.4
    8.5Recognize common exception classes (such as NullPointerException, ArithmeticException, ArrayIndexOutOfBoundsException, ClassCastException)8.5
    Working with Selected Classes from the Java API
    9.1Manipulate data using the StringBuilder class and its methods2.6
    9.2Creating and manipulating Strings2.7
    9.3Create and manipulate calendar data using classes from java.time.LocalDateTime, java.time.LocalDate, java.time.LocalTime, java.time.format.DateTimeFormatter, java.time.Periodn/a - new topic
    9.4Declare and use an ArrayList of a given type4.3
    9.5Write a simple Lambda expression that consumes a Lambda Predicate expressionn/a - new topic


    OCA 7 ObjectiveOCA 7 TextOCA 8 Objective
    Java Basics
    1.1Define the scope of variables1.1
    1.2Define the structure of a Java class1.2
    1.3Create executable Java applications with a main method1.3
    1.4Import other Java packages to make them accessible in your code1.4
    Working With Java Data Types
    2.1Declare and initialize variables2.1
    2.2Differentiate between object reference variables and primitive variables2.2
    2.3Read or write to object fields2.3
    2.4Explain an Object's Lifecycle (creation, "dereference" and garbage collection)2.4
    2.5Call methods on objectsimplied in objectives 6.X
    2.6Manipulate data using the StringBuilder class and its methods9.1
    2.7Creating and manipulating Strings9.2
    Using Operators and Decision Constructs Â
    3.1Use Java operators3.1
    3.2Use parenthesis to override operator precedence3.1
    3.3Test equality between Strings and other objects using == and equals ()3.2
    3.4Create if and if/else constructs3.3
    3.5Use a switch statement3.4
    Creating and Using Arrays
    4.1Declare, instantiate, initialize and use a one-dimensional array4.1
    4.2Declare, instantiate, initialize and use multi-dimensional array4.2
    4.3Declare and use an ArrayList9.4
    Using Loop Constructs
    5.1Create and use while loops5.1
    5.2Create and use for loops including the enhanced for loop5.2
    5.3Create and use do/while loops5.3
    5.4Compare loop constructs5.4
    5.5Use break and continue Â5.5
    Working with Methods and Encapsulation
    6.1Create methods with arguments and return values6.1
    6.2Apply the static keyword to methods and fields Â6.2
    6.3Create an overloaded method6.1
    6.4Differentiate between default and user defined constructors6.3
    6.5Create and overload constructors6.3
    6.6Apply access modifiers6.4
    6.7Apply encapsulation principles to a class6.5
    6.8Determine the effect upon object references and primitive values when they are passed into methods that change the values6.6
    Working with Inheritance
    7.1Implement inheritance7.1
    7.2Develop code that demonstrates the use of polymorphism7.2
    7.3Differentiate between the type of a reference and the type of an object7.2
    7.4Determine when casting is necessary7.3
    7.5Use super and this to access objects and constructors7.4
    7.6Use abstract classes and interfaces7.5
    Handling Exceptions
    8.1Differentiate among checked exceptions, RuntimeExceptions and Errors2.5
    8.2Create a try-catch block and determine how exceptions alter normal program flow2.4
    8.3Describe what Exceptions are used for in Java2.5
    8.4Invoke a method that throws an exception2.4
    8.5Recognize common exception classes and categories2.6
     
    Did you just should on me? You should read this tiny ad:
    We need your help - Coderanch server fundraiser
    https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
      Bookmark Topic Watch Topic
    • New Topic