Either you are a beginner or a professional in Java programming language, you must have come across the term Java Interface. As a beginner, if not, actually you have not learnt the Java language properly. Even you may not be a good Java Programmer, if you have not learnt each aspect of a Java Interface. You are expected to know about Java Interface in a deeper way. Additionally, what are the changes introduced in newer versions of JDK, especially in JDK8. For example, the introduction of default and static methods in Java Interface. Needless so say, the introduction of new features in Java 8 has completely changed the definition of Java Interface. Before Java 8, no method with a body was
Core Java
Java 14 Features
After the release of Java 13 on 17 September, 2019 and completing the six-month cycle, Java 14 version was released on 17 March 2020. We can download Java 14 from here. Here we will talk about Java 14 Features. Some of the features in Java 14 are in 'Preview' Stage, while others finalized by Oracle community. One of the popular feature 'Switch Expressions' which was a Preview feature is now approved in Java 14. We will discuss in detail about all of them in this article. Java 14 Features As a developer, we have following new features which are added in Java 14. 1. Record Type (Preview) 2. Switch Expressions 3. Pattern matching for instanceof Operator (Preview) 4. Helpful NullPointerExceptions 5. Text Blocks (Preview) What is a Preview feature
Java Features After Java 8
After Java 8, Java 9 has big changes & new features. Here in this section we will talk about Java Features After Java 8. If you are preparing for a Java developer interview, there are 100% chances that, you will find some questions about this topic. This article may work as a refresher for the interview. You can learn about Java 8 Features from a separate article. We will update this section on a regular basis in case of a release of the new version. Let's see Java Features After Java 8. New In Java 9 Let's start our topic 'Java Features After Java 8' with New Features in Java 9. 1) Java Platform Module System : Jigsaw Project 2) JShell Command Line Tool 3) Private
Java Core Tutorial
In this section we will cover the basics of Java with clear and simple explanation. Here in this section we have covered concepts in the form of questions. Moreover, I am sure that these concepts will be beneficial to new developers & to those who are preparing for interviews. We will call this section 'Java Core Tutorials'. They are like must to know concepts for every Java professional. In addition, we have a separate section for Java Interview Questions. Let's start learning basics of Core Java in our topic 'Java Core Tutorial'. Q: What is the history of Java ? How popular it is ? In the early nineties, Java was created by a team led by James Gosling for Sun Micro-systems
Java Design Patterns
If you want to learn 'Java Design Patterns' in less time without missing any concept, you are at the right place. Moreover, if you want to appear in a Java interview, go through this article once. Additionally, If you want to have a quick revision of your concepts on Java Design Patterns which you had learnt a log time before, then also you are at the right place. However, if you are looking for one liner definition of each Design Pattern to memorize them, then also you are at the right place. Then, visit the last section of this article (Design Pattern's Cheat Sheet). In this article, we will discuss about all GoF (Gang of Four) design patterns. The 23 design
Stream API in Java 8
Data Processing is the dominant part of a Software Application. As a developer, we can't think of developing an application without data processing logics. However, almost every Java Application uses Collections API to store and process data. Using Collections API, it is not so easy to write the codes for even some common data processing operations such as filtering, sorting, matching, finding, mapping etc. That's why Java API designers have come up with Stream API in Java 8 to implement more complex data processing logics with the least number of lines of code. So, in this article, we are going to learn Stream API in Java 8 and how to work with the complex data processing operations in an easy
Java Coding Best Practices and Standards
As a developer, while doing coding task, there is a probability that we make some mistakes accidentally. Sometimes, the compiler catches the mistakes and warns us to correct it. But when we make a mistake and compiler didn't catch it, we may face an issue after running the program. That's why we should have some elementary knowledge of Java Coding Best Practices and Standards in order to avoid them. These Java Coding Best Practices and Standards are not only useful in writing a successful program, but also in improving the performance of the application in the long term as a whole. Based on the Code Review, we are going to mention a synopsis of the common mistakes that a Programmer commits.
Java 8 Features
Java 8 was released by Oracle after 2 Years 7 Months 18 Days of release of java 7 on March 18th, 2014. However, after Java 1.5 version, Java 8 is the next major release version. Before Java 8, Sun community focused majorly on objects, but in Java 8 version, Oracle community has focused more on functional programming to bring its benefits to the Java language. However, it doesn’t mean that Java is a functional oriented programming language, but we should grasp it in a way that we can apply functional aspects of programming as well now with Java 8. It is a part of Java 8, as an object oriented programming. Here, we will discuss new features of Java 8 one
Behavioral Design Patterns In Java
In continuation of the second part of Design Patterns in Java, we will discuss about Behavioral Design Patterns in Java in this article. We have already covered Creational Design Patterns in Java, and Structural Design Pattern in the first & the second part respectively. The Behavioral Design Patterns deal with better interaction between objects and to provide loose coupling and flexible design. Moreover, they use various techniques to make communication between objects easier. We will discuss eleven design patterns in total in this article that come under the category of Behavioral Design Pattern. Let’s start discussing our topic ‘Behavioral Design Patterns In Java’. What are Behavioral Design Patterns in Java? Behavioral Design Patterns offer solution for the better interaction between objects and how
Structural Design Patterns In Java
In continuation of the first part of Design Patterns in Java, we will discuss about Structural Design Patterns In Java in this article. We have already covered Creational Design Patterns in Java in the first part as mentioned. The Structural Design Patterns deal with different ways to create a class structure. Moreover, they use Inheritance and Composition techniques to create larger objects from small objects. We will discuss seven design patterns in total in this article that come under the category of Structural Design Pattern. Let's start discussing our topic 'Structural Design Patterns In Java'. What are Structural Design Patterns in Java? Structural patterns provide different ways to create a class structure, for example, using inheritance and composition to create a large