All Stories

OCJP Practice Papers - Handling Exceptions

OCJP Practice Papers Java Handling Exceptions include following topics Differentiate among checked exceptions, unchecked exceptions, and Errors Create a try-catch block and determine how exceptions alter normal program flow Describe...

OCJP Practice Papers - Working With Inheritance

OCJP Practice Papers Java Stream API include following topics Describe inheritance and its benefits Develop code that makes use of polymorphism; develop code that overrides methods; differentiate between the type...

OCJP Practice Papers - Working With Methods And Encapsulation

OCJP Practice Papers Java Stream API include following topics Create methods with arguments and return values; including overloaded methods Apply the static keyword to methods and fields Create and overload...

OCJP Practice Papers - Java I/O Fundamentals

OCJP Practice Papers Java I/O Fundamentals include following topics Read and write data from the console Use BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream, andPrintWriter in the java.io...

OCJP Practice Papers - Date/Time API

OCJP Practice Papers Date/Time API include following topics Create and manage date-based and time-based events including a combination ofdate and time into a single object using LocalDate, LocalTime, LocalDateTime,Instant, Period,...

OCJP Practice Papers - Exceptions And Assertions

OCJP Practice Papers Java Stream API include following topics Use try-catch and throw statements Use catch, multi-catch, and finally clauses Use Autoclose resources with a try-with-resources statement Create custom exceptions...

OCJP Practice Papers - Java Stream API

OCJP Practice Papers Java Stream API include following topics Develop code to extract data from an object using peek() and map() methods including primitive versions of the map() method Search...

OCJP Practice Papers Java Class Design

OCJP Practice Papers Java Class Design include following topics Implement encapsulation Implement inheritance including visibility modifiers and composition Implement polymorphism Override hashCode, equals, and toString methods from Object class Create...

OCJP Practice Papers - Lambda Built-In Functional Interfaces

OCJP Practice Papers Using Loop Constructs include following topics Create and use a generic class Create and use ArrayList, TreeSet, TreeMap, and ArrayDeque objects Use java.util.Comparator and java.lang.Comparable interfaces Collections...

OCJP Practice Papers - Generics And Collections

OCJP Practice Papers Using Loop Constructs include following topics Create and use a generic class Create and use ArrayList, TreeSet, TreeMap, and ArrayDeque objects Use java.util.Comparator and java.lang.Comparable interfaces Collections...

OCJP Practice Papers Using Loop Constructs

OCJP Practice Papers Using Loop Constructs include following topics Create and use while loops Create and use for loops including the enhanced for loop Create and use do/while loops Compare...

OCJP Practice Papers Creating And Using Arrays

OCJP Practice Papers Creating and Using Arrays include following topics Declare, instantiate, initialize and use a one-dimensional array Declare, instantiate, initialize and use multi-dimensional arrays See the complete syllabus for...

OCJP Practice Papers-A Advanced Java Class Design

OCJP Practice Papers Advanced Java Class Design Include following topics Develop code that uses abstract classes and methods Develop code that uses the final keyword Create inner classes including static...

OCJP Practice Papers - Operators And Decision Constructs

OCJP Practice Papers - Operators and Decision Constructs covers following topic under this section Using Operators and Decision Constructs Use Java operators; use parentheses to override operator precedence Test equality...

OCJP Practice Papers - Working With Java Data Types

OCJP Practice Papers - Working with Java Data Types