inflearn logo

The Java, Java 8

The features introduced in Java 8 are widely used not only in Java’s APIs but also in third-party libraries and frameworks such as Spring. Every Java developer today needs to know them. Make them your own quickly and easily with this course.

(4.8) 337 reviews

4,413 learners

Level Basic

Course period Unlimited

Java
Java
Java
Java

Reviews from Early Learners

4.8

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 and static methods in interfaces.

  • Learn about Stream and Optional.

We'll show you the smartest way to make the most of JAVA 8
.

🙆🏻‍♀ In this course, you’ll learn about the key features added in Java 8.
Gain a solid understanding of Java 8 code and try writing some yourself! 🙆🏻‍♂

Course Introduction 👨‍💻

Learn about Java 8, the version most widely used by Java developers even more than six years after its initial release in March 2014.

Even if you’ve finished studying the basics of Java, if you still feel like you don’t really understand Java or come across unfamiliar syntax when reading someone else’s code, it may be because you don’t fully understand the features added in Java 8.

What can you do with Java 8? 🐔🍴

Now, take a look! Here’s KeesunChicken, which implements an interface called Chicken.

public class KeesunChicken implements Chicken {

}

As you can see, we only implemented the interface and didn’t override any methods.
But this is possible.

public class App {

    public static void main(String[] args) {

        Chicken keesun = new KeesunChicken();

        Egg egg = keesun.create();

    }

}

How on earth were we able to use the create() method that returns an Egg?

Now, take a look at the following code. Here’s a chicken looking after an egg that wants to become half curry chicken and half fried chicken.

Chicken.takesCare(new Egg() {

    @Override

public String wannaBe() {

        return "half seasoned, half fried";

    }

});

This code can also be written more concisely like this.

Chicken.takesCare(() -> "Half seasoned, half fried");

Are you wondering how we can make this so concise without even using a type called Egg?

This time, let's sort 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"));

Let’s select only the eggs shown here whose color is yellow, sort them by size, and then print each egg’s wannaBe.
If you take this course, you’ll 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 lays eggs on a separate thread and then (via a callback) eats them once they’re ready.

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

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

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

}).thenAccept((egg) -> {

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

});


future.get();

Java 8 also offers plenty of interesting features, including the Date and Time API, changes to annotations, and changes to memory areas, so I hope many of you will take the course.

Thank you.

Recommended for
these people

Who is this course right for?

  • A developer or student who has completed the basics of Java programming.

  • A developer or student who wants to learn the key features of Java 8

Need to know before starting?

  • Java Programming Basics

Hello
This is whiteship

93,280

Learners

4,385

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

337 reviews

4.8

337 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.

    • 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 🥹🥹

      • 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.

      • 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.

        • namuhuchutong6966님의 프로필 이미지
          namuhuchutong6966

          Reviews 3

          ∙

          Average Rating 4.3

          3

          100% enrolled

          "More like a live coding class than a lecture" Most people have probably taken classes from professional instructors or teachers. It is hard to expect well-organized class progress, abundant materials, etc. from this lecture. However, I think it is a good lecture for those who can acquire it by thinking about the topic, researching it, and doing it themselves. I was able to allocate additional time because I am a student, but I think busy people might not like the lecture progress. However, the lecture you uploaded recently seems to have improved this problem. Since it is an old lecture, please take this into consideration when choosing it.

          whiteship's other courses

          Check out other courses by the instructor!

          Similar courses

          Explore other courses in the same field!

          25% off for new members

          $32.90

          25%

          $42.90