Learn Java GENERICS in 13 minutes! 📦

  Рет қаралды 2,401

Bro Code

Bro Code

Күн бұрын

Пікірлер: 18
@BroCodez
@BroCodez 16 күн бұрын
public class Main { public static void main(String[] args) { // Generics = A concept where you can write a class, interface, or method // that is compatible with different data types. // type parameter (placeholder that gets replaced with a real type) // type argument (specifies the type) Box box = new Box(); box.setItem("banana"); System.out.println(box.getItem()); Product product1 = new Product("apple", 0.50); Product product2 = new Product("ticket", 15); } } public class Box{ T item; public void setItem(T item){ this.item = item; } public T getItem(){ return item; } } public class Product { T item; U price; public Product(T item, U price){ this.item = item; this.price = price; } public T getItem(){ return this.item; } public U getPrice(){ return this.price; } }
@mednmovies6959
@mednmovies6959 16 күн бұрын
Not even interested with Java, but its nice to see you back its been a while
@MicahIMURANI
@MicahIMURANI 16 күн бұрын
Cool 🎉
@makaalbar1663
@makaalbar1663 15 күн бұрын
Please create a course about Golang I really really need it and I absolutely love your way of explaining things
@funnytoones9928
@funnytoones9928 16 күн бұрын
Keep it up bro. This is amazing. We spring tutorials bro❤
@mathieucarrier4217
@mathieucarrier4217 16 күн бұрын
Amazing as alway! By the way, you should do a rust serie!
@Seif285
@Seif285 16 күн бұрын
Good ❤
@stalinseif6982
@stalinseif6982 3 күн бұрын
PERFECT !
@chandrahaasvemula7251
@chandrahaasvemula7251 16 күн бұрын
Course on Angular please !!!! Angular 17
@Jaybhayani_070
@Jaybhayani_070 16 күн бұрын
bro , can you make video on kotlin full couse ?
@vrushika9293
@vrushika9293 16 күн бұрын
JavaScript DSA
@vrushika9293
@vrushika9293 16 күн бұрын
DSA
@Hip-HopStateOfmind
@Hip-HopStateOfmind 16 күн бұрын
Why making a new Java course when there are so many languages to talk about? Such as dart (maybe with flutter), Haskell and Go
@Ankitkumar-ey4ui
@Ankitkumar-ey4ui 14 күн бұрын
Because most of projects specially Banking , healthcare railway ,or any booking service are already on Java and has been going on for long time ,one of mine friend Java project is going on for 15years for Banking operation.
@wrenne_claude
@wrenne_claude 14 күн бұрын
Many colleges have Java in their computer science curricula, but it's also a case of learning the long way before going for the shortcut. Java is verbose, its syntax is informative and you learn many terms that in the future will allow you to understand many things way faster
@Hip-HopStateOfmind
@Hip-HopStateOfmind 14 күн бұрын
@@wrenne_claude I completely understand that, Java is a must, but what I’m talking about is the course itself. BroCode already made a Java course, which is pretty long actually (twelve hours), with algorithms and data structures too… my point was: the last one was pretty good, why ANOTHER Java course? Did Java change that much to make about her full course about it?
@Alnz-b2b
@Alnz-b2b 6 күн бұрын
I like this one better. Its byte size is perfect for me.
Learn Java HASHMAPS in 10 minutes! 🗺️
10:31
Bro Code
Рет қаралды 1,9 М.
Generics In Java - Full Simple Tutorial
17:34
Coding with John
Рет қаралды 1,1 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 422 М.
Java Generics
52:23
Jakob Jenkov
Рет қаралды 5 М.
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Рет қаралды 2,1 МЛН
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 295 М.
Learn Java THREADING in 10 minutes! 🧵
10:21
Bro Code
Рет қаралды 1,7 М.
Java generics ❓
22:04
Bro Code
Рет қаралды 120 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 906 М.
Learn Java in 15 Minutes (seriously)
19:50
ForrestKnight
Рет қаралды 164 М.
⭐ Let's code a HANGMAN GAME with Java! 🕺
28:35
Bro Code
Рет қаралды 2,7 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН