Java 14 and IntelliJ IDEA

preview_player
Показать описание
Java 14 has a lot of exciting language features for us developers:
- Records,
- Pattern Matching for instanceof,
- Text Blocks,
- Switch Expressions.

In this screencast, we'll cover how to use these features in IntelliJ IDEA.

*Author: Mala Gupta

Join us:

#intelliJIDEA #intelliJ #jetbrains #Java14 #Java #programming
Рекомендации по теме
Комментарии
Автор

Could you please get the previous speaker back?

blablaqwertyful
Автор

Excuse me





I wrote this code :

package com.codewithkalvin;

import java.awt.*;


public class Main {

public static void main(String[] args) {
Point point1 = new Point(x: 1, y: 1) ;
Point point2 = point1;
point1.x = 2;
System.out.println(point 2);



}

}


and when I run, I still get errors.Why?


These are the errors I'm getting:


Error(9, 35) java: ')' expected
Error(9, 44) java: 'not a statement
Error(9, 45) java: ';' expected
Error(12, 33) java: ')' expected

Is there any way to solve this?

kalvins
Автор

I’ve never heard an Indian speaker with such a good sound quality

laurens
Автор

Please, add a way to configure preview features using gradle projects. Every time I refresh gradle file, the project remove the extra features that I set like in the video (reproducible on JDK 13 and 14)

Автор

Very nicely explained with concise and clear examples. Thank you!

SourabhBhat
Автор

Eyo mates! I guess you have missed out the I at the title where it says "IntellJ " xd

raveboxmarcdevelopment
Автор

It’s nice to see java slowly catching up with Kotlin/swift and other modern languages.

But unfortunately, many companies are not even on java 11 yet.

Better off switching to kotlin with all of these features and seamless java interop.

Xaxxus
Автор

Please do a video on Kotlin + IntelliJ features

UF
Автор

Good that Java is moving in the right direction in terms of features, Albeit too slow. Better to adopt Kotlin. Even with all the Java improvements, it still requires writing too much code for getting something done. Many companies are still in Java 8. Probably it will take a couple of decades to have all these features mainstream.

Jilljungjuk