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 […]

One comment Read More
Spring

Spring Retry – How to use it ?

┬áIntroduction to Spring Retry : While writing code for enterprise-level applications, we often interact with many external systems usually via web service call. There is a high possibility of temporary network glitches in the process like momentary loss of connectivity with the server due to high network traffic or any other such self-correcting faults. For […]

2 comments 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
Other Tutorials

How HTTPS works – SSL/TLS ?

HTTPS - SSL vs TLS

What is HTTPS ? Why do we need it and how does it works? What is SSL/ TLS? Today we’ll be covering all the essentials of HTTPS that every developer must know. Introduction to HTTPS : As we all know, HTTP is the most common protocol used for the web-based communications. As the data travels […]

2 comments 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