Category: Core Java

Core Java

Java OCA Certification Preparation Series

Struggling with preparing for your Oracle Java OCA certification( Exam Number –1Z0-808 )? Looking for where to start ? We have got you covered. It is recommended for you to go through below list of articles to give a sharp edge to your Java OCA Preparation. I am sure you are going to find them […]

Be the First to comment. Read More
Core Java

OCA Java 8 Preparation : DateTimeFormatter

Introduction : DateTimeFormatter class belongs to java.time.format package. You can use it to format or parse the date or time or a datetime object. Remember for the sake of exam, it defines rules for both parsing and formatting. To instantiate a DateTimeFormatter, use any of the below ways : Calling the static ofLocalizedXXX() method, passing […]

Be the First to comment. Read More
Core Java

OCA Java 8 Preparation : Lambda Expressions

  The concept of Lambda expressions and Functional Interface(FI) is itself very large in scope. However, for the OCA Java 8, you are expected to know only the basics of Lambda Expression. Today, we’ll cover lambda expressions in great details for your Java OCA exam. To understand why to even use lambda expressions , you […]

Be the First to comment. Read More
Core Java

OCA Java 8 Preparation : Selection Constructs

I know you are already a Java programmer and you might think–  ‘I already know about Java selection constructs. I have been using it since long.’  But still, I would suggest you to go through these points before you plan to give your OCA Java certification exam. After preparing on these points, you will be […]

Be the First to comment. Read More
Core Java

Java 8 – Why use Lambda Expressions?

Introduction : Java 8 introduced the concept of Lambda expressions which enables you to implement functional-style programming in Java. Functional programming allows you to focus on ‘what to do’, rather than ‘how to do it’. It allows you to pass in code blocks as a method argument, instead of simply passing the data. This can […]

Be the First to comment. Read More
Core Java

OCA Java 8 Preparation : Period

In continuation of this post covering the temporal classes – LocalDate, LocalTime and LocalDateTime, today we’ll be covering the Period class which is also on the OCA Java 8 Exam. Creating Period instances : Period class also belongs to java.time package. It represents a date-based amount of time in terms of years, months, and days […]

Be the First to comment. Read More
Core Java

OCA Java 8 Preparation : Date Time API

Below are the temporal classes that you are expected to know for your OCA Java 8 Certification Exam : java.time package : LocalDate : This class represents a date only in terms of date – based values(year, month, day). Time-zones aren’t handled. LocalTime : LocalTime represents only the time value(hours, minutes, seconds, nanoseconds ) within […]

Be the First to comment. Read More
Core Java

OCA Java 8 Preparation : ArrayList

Java Collection framework provides an ArrayList class in package java.util which is used to hold a collection of objects. It implements the List interface(List extends Collection interface).The benefit of using ArrayList over Array is that you do not need to know the size of ArrayList<E> while creating it. It could be thought of as a […]

2 comments Read More
Core Java

OCA Java 8 Preparation : Arrays

An array in Java is itself an ‘Object’ which is used to store collection of values. You can choose to store a collection of primitives or a collection of objects in an array. When storing primitives, the actual values are stored whereas when storing the objects, array elements hold the references to those objects. A […]

Be the First to comment. Read More
Core Java

OCA Java8 Preparation : StringBuffer & StringBuilder

StringBuilder & StringBuffer are the mutable classes available in java.lang package. They can be thought of an alternative to String when we need to perform a lot of modifications to a String value. Both these classes support same set of operations  but unlike StringBuilder ,the StringBuffer class is thread-safe i.e the operations performed by different […]

Be the First to comment. Read More