Code Monkey home page Code Monkey logo

java-se-11-professional-codes's Introduction

Java-SE-11-Professional-Codes

Preparation of the OCP Java SE 11 Professional Developer

Syllabus

Working with Java data types

  • Use primitives and wrapper classes, including, operators, parentheses, type promotion and casting
  • Handle text using String and StringBuilder classes
  • Use local variable type inference, including as lambda parameters

Controlling Program Flow

  • Create and use loops, if/else, and switch statements
  • Java Object-Oriented Approach

Declare and instantiate Java objects including nested class objects, and explain objects' lifecycles (including creation, dereferencing by reassignment, and garbage collection)

  • Define and use fields and methods, including instance, static and overloaded methods
  • Initialize objects and their members using instance and static initialiser statements and constructors
  • Understand variable scopes, apply encapsulation and make objects immutable
  • Create and use subclasses and superclasses, including abstract classes
  • Utilize polymorphism and casting to call methods, differentiate object type versus reference type
  • Create and use interfaces, identify functional interfaces, and utilize private, static, and default methods
  • Create and use enumerations

Exception Handling

  • Handle exceptions using try/catch/finally clauses, try-with-resource, and multi-catch statements
  • Create and use custom exceptions
  • Working with Arrays and Collections

Use generics, including wildcards

  • Use a Java array and List, Set, Map and Deque collections, including convenience methods
  • Sort collections and arrays using Comparator and Comparable interfaces
  • Working with Streams and Lambda expressions

Implement functional interfaces using lambda expressions, including interfaces from the java.util.function package

  • Use Java Streams to filter, transform and process data
  • Perform decomposition and reduction, including grouping and partitioning on sequential and parallel streams

Java Platform Module System

  • Deploy and execute modular applications, including automatic modules
  • Declare, use, and expose modules, including the use of services

Concurrency

  • Create worker threads using Runnable and Callable, and manage concurrency using an ExecutorService and java.util.concurrent API
  • Develop thread-safe code, using different locking mechanisms and java.util.concurrent API

Java I/O API

  • Read and write console and file data using I/O Streams
  • Implement serialization and deserialization techniques on Java objects
  • Handle file system objects using java.nio.file API

Secure Coding in Java SE Application

  • Develop code that mitigates security threats such as denial of service, code injection, input validation and ensure data integrity
  • Secure resource access including filesystems, manage policies and execute privileged code

Database Applications with JDBC

  • Connect to and perform database SQL operations, process query results using JDBC API

Localization

  • Implement Localization using Locale, resource bundles, and Java APIs to parse and format messages, dates, and numbers

Annotations

  • Create, apply, and process annotations

java-se-11-professional-codes's People

Contributors

vuyanidaweti avatar

Watchers

 avatar

Forkers

stanmakori

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.