inflearn logo

The Java, Java 8

The features added in Java 8 are widely used not only in the APIs provided by Java itself but also in third-party libraries and frameworks like Spring. Any Java developer in this era must know them. Through this course, make these skills your own quickly and easily.

(4.9) 332 reviews

4,402 learners

Level Basic

Course period Unlimited

Java
Java
Java
Java

Reviews from Early Learners

Reviews from Early Learners

4.9

5.0

MyCatIsRockstar

43% enrolled

It is no exaggeration to say that I came to like Java thanks to this lecture. In particular, Mr. Ki-seon is the first person who explained streams and functional interfaces so easily. Thanks to him, I, who always gave up on coding tests in Java without even trying, ended up studying coding tests in Java. There is some feedback that it feels insincere, but I liked Mr. Ki-seon's indifferent tone, as if Java doesn't need to be difficult, because it relieved the burden I had about Java. After listening to this, I also bought Effective Java 1, 2 and Code Manipulation!! Thank you, King God General Mr. Ki-seon. Thank you 🥹🥹

5.0

euni

100% enrolled

I hesitated to pay for the course because of some reviews, but it seems that many people are satisfied when they are taught like an elementary school.. I have often felt that Ki-seon is a bit unfriendly when it comes to answering questions, but his voice is always nice during the lectures, and although he doesn't start the lectures perfectly prepared, I think that even elite developers working at Microsoft go to the lectures like this, so I think that even that is something to learn. I also think that just because there is a lot of content doesn't mean it's good. Sometimes, there are lectures that are extremely long compared to the price, but when you listen to them, they usually extend the lecture time by 20 or 30 minutes even though they could have explained it in 5 minutes like Ki-seon.. I haven't been able to listen to many of Ki-seon's lectures yet because I don't have time, but from what I've heard so far, I think they are all satisfactory for the price. If you want to see a lecture that teaches like an elementary school student, look at something else, but if you really want to learn the essentials quickly, I recommend Ki-seon's lectures. Everything I've listened to was good.

5.0

지토

100% enrolled

I have been using Java for many years, but I am not familiar with the grammar after Java 8 and have only used the existing grammar. Thanks to this lecture, I was able to learn new grammar and functions, and I think my perspective has broadened. Thank you :)

What you will gain after the course

  • Learn about functional interfaces, lambdas, and method references.

  • Learn about default methods and static methods of interfaces.

  • Learn about Stream and Optional.

We will show you the smartest way to properly utilize
JAVA 8..

🙆🏻‍♀ In this course, we will learn the key features added in Java 8.
Understand Java 8 code clearly and try writing it yourself! 🙆🏻‍♂

Course Introduction 👨‍💻

We will learn about Java 8, the version that is still most widely used by Java developers today, more than six years after its initial release in March 2014.

If you have finished studying the basics of Java but still feel like you don't quite know Java well, and you see unfamiliar syntax when looking at code written by others, it might be because you do not properly understand the features added in Java 8.

What can we do with Java 8? 🐔🍴

Look! Here is a Keesun Chicken that implements the Chicken interface.

public class KeesunChicken implements Chicken {

}

As you can see, I only implemented the interface and didn't override any methods.
However, something like this is possible.

public class App {

    public static void main(String[] args) {

        Chicken keesun = new KeesunChicken();

        Egg egg = keesun.create();

    }

}

How on earth did the create() method, which returns an Egg, become available for use?

Now, take a look at the following code. Here is a chicken. It is taking care of an egg that wants to grow up to be half-seasoned, half-fried chicken.

Chicken.takesCare(new Egg() {

    @Override

    public String wannaBe() {

        return "half-seasoned, half-fried";

    }

});

This code can also be shortened and written like this.

Chicken.takesCare(() -> "양념반 후라이드반");

Are you curious how it can be shortened so cleanly without even using the Egg type?

This time, let's classify the eggs.

List<EggWithColorAndSize> eggs = new ArrayList<>();

eggs.add(EggWithColorAndSize.of().size(3).color("yellow"));

eggs.add(EggWithColorAndSize.of().size(4).color("white"));

eggs.add(EggWithColorAndSize.of().size(3).color("white"));

eggs.add(EggWithColorAndSize.of().size(5).color("yellow"));

eggs.add(EggWithColorAndSize.of().size(3).color("brown"));

eggs.add(EggWithColorAndSize.of().size(4).color("yellow"));

From the eggs shown here, let's select only the yellow ones, sort them by size, and then print the egg's wannaBe.
By taking this course, you will be able to write and understand code like this.

eggs.stream().filter(e -> e.getColor().equals("yellow"))

        .sorted(Comparator.comparingInt(EggWithColorAndSize::getSize))

        .map(EggWithColorAndSize::wannaBe)

        .forEach(System.out::println);

You can also understand and write code like the following, which executes the task of laying an egg in a separate thread and then (via a callback) eats it deliciously once the egg is laid.

CompletableFuture<Void> future = CompletableFuture.supplyAsync(() -> {

    System.out.println("Cock-a-doodle-doo~ cluck cluck cluck~ " + Thread.currentThread().getName());

    return EggWithColorAndSize.of().size(5).color("white");

}).thenAccept((egg) -> {

    System.out.println("Yum yum yum: " + egg.wannaBe());

});


future.get();

In addition, there are many other interesting topics such as the Date and Time API provided by Java 8, changes to annotations, and changes in memory areas, so please be sure to take the course.

Thank you.

Recommended for
these people

Who is this course right for?

  • Developers or students who have completed basic Java programming studies

  • Developers or students who want to learn the key features of Java 8

Need to know before starting?

  • Java Programming Basics

Hello
This is whiteship

92,984

Learners

4,310

Reviews

2,010

Answers

4.8

Rating

20

Courses

Having worked at Naver and Amazon, I am currently working as a Senior Software Engineer at Microsoft.

Einstein once said, "Education is not the learning of facts, but the training of the mind to think." I create my lectures with deep resonance for those words.

YouTube: Sharing useful knowledge and career advice for developers on the
'Keesun Baik' channel
Translation: Translated numerous books related to Spring and Hibernate
Author: Easy-to-Follow Java Web Development

More

Curriculum

All

23 lectures ∙ (4hr 56min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

332 reviews

4.9

332 reviews

  • enni님의 프로필 이미지
    enni

    Reviews 26

    Average Rating 5.0

    5

    100% enrolled

    I hesitated to pay for the course because of some reviews, but it seems that many people are satisfied when they are taught like an elementary school.. I have often felt that Ki-seon is a bit unfriendly when it comes to answering questions, but his voice is always nice during the lectures, and although he doesn't start the lectures perfectly prepared, I think that even elite developers working at Microsoft go to the lectures like this, so I think that even that is something to learn. I also think that just because there is a lot of content doesn't mean it's good. Sometimes, there are lectures that are extremely long compared to the price, but when you listen to them, they usually extend the lecture time by 20 or 30 minutes even though they could have explained it in 5 minutes like Ki-seon.. I haven't been able to listen to many of Ki-seon's lectures yet because I don't have time, but from what I've heard so far, I think they are all satisfactory for the price. If you want to see a lecture that teaches like an elementary school student, look at something else, but if you really want to learn the essentials quickly, I recommend Ki-seon's lectures. Everything I've listened to was good.

    • zito님의 프로필 이미지
      zito

      Reviews 6

      Average Rating 5.0

      5

      100% enrolled

      I have been using Java for many years, but I am not familiar with the grammar after Java 8 and have only used the existing grammar. Thanks to this lecture, I was able to learn new grammar and functions, and I think my perspective has broadened. Thank you :)

      • whiteship
        Instructor

        Thank you for your feedback. The functions covered in this lecture will be the basic functions that you will use in Java in the future. Thank you for your feedback.

    • mohai님의 프로필 이미지
      mohai

      Reviews 16

      Average Rating 4.9

      5

      100% enrolled

      This is a Java 8 lecture.

      • mycatisrockstar님의 프로필 이미지
        mycatisrockstar

        Reviews 9

        Average Rating 5.0

        5

        43% enrolled

        It is no exaggeration to say that I came to like Java thanks to this lecture. In particular, Mr. Ki-seon is the first person who explained streams and functional interfaces so easily. Thanks to him, I, who always gave up on coding tests in Java without even trying, ended up studying coding tests in Java. There is some feedback that it feels insincere, but I liked Mr. Ki-seon's indifferent tone, as if Java doesn't need to be difficult, because it relieved the burden I had about Java. After listening to this, I also bought Effective Java 1, 2 and Code Manipulation!! Thank you, King God General Mr. Ki-seon. Thank you 🥹🥹

        • cco24160663님의 프로필 이미지
          cco24160663

          Reviews 3

          Average Rating 4.7

          4

          100% enrolled

          It was a good opportunity to think about JAVA8 again. I think it was good to have a process of getting used to it by showing and chewing on the new features one by one. Rather than deleting and writing content in one class when writing code, I think it would be a more perfect lecture if you create a package for each class and proceed.

          whiteship's other courses

          Check out other courses by the instructor!

          Similar courses

          Explore other courses in the same field!

          $42.90