Java Stack + Heap with Reference & Instance Variables

preview_player
Показать описание
An excerpt from my new course titled "Master Practical Java Development".
In this course, you'll learn everything you need to know about the Java Programming Language and become a confident industry-ready core Java developer and get certified as a Java professional!
=========================================
➡️ Learn MORE:
=========================================
- Latest updates include Lambdas and Streams with Java 9 Features.
- Course Last Updated: 2023!
=========================================
➡️ Connect with me:
=========================================
➡️ Job Ready Programmer Socials:
=========================================
➡️ Welcome to The Complete Java Certification Course
- This course is designed to help you master the most in-demand and critical components for becoming a Core Java developer.
- Especially if you're going for a job interview or have a Java Project that needs your best performance.
- This course assumes no prior java experience so prior Java so it will take you from zero to hero!

➡️ COURSE INCLUDES:
Java Basics
Working with Java Data Types
Using Operators and Decision Constructs
Creating and Using Arrays
Using Loop Constructs
Working with Methods and Encapsulation
OOP Basics
Working with Inheritance
Java Class Design
Handling Exceptions
Working with Selected classes from the Java API
Advanced Class Design
Generics and Collections
Lambda Built-In Functional Interfaces
Java Stream API
Exceptions and Assertions
Use Java SE 8 Date/Time API
Java I/O Fundamentals
Java File I/O (NIO.2)
Concurrency
Building Database Applications with JDBC

➡️ The topics covered also include:
- Object Orientation which I think is not stressed enough in other Java courses so I've got a special focus on that throughout the lectures.
- You'll get plenty of practice writing classes and interfaces as well as countless methods with loops and if-else statements, exception handling and file processing as well as how to debug software using Eclipse.
- You'll also be mastering the collections framework and diving deep into java generics.
- You'll learn all there is to know about multi-threading and the JDBC API for working with a MySQL database.
- There are also practical projects scattered throughout the course so that you can practice the concepts as you learn them. For example one of the projects is related to a car dealership management system and another assignment involves processing files with stock market data. So as you can see I tried to keep the projects professional and industry relevant rather than cloning a game like flappy bird.

- I want this course to be the ultimate go-to resource for anyone that's looking to become a core Java programmer so I intend on adding more content to this course based on new technologies and student feedback.
- The content is Java 9 ready which means I'll show you how to upgrade to the latest version of Java which is version 9 and I'll teach you how to configure Eclipse to work with both Java 8 as well as version 9.
- I'm confident that you'll enjoy this course at least as much if not more than my other popular Java courses, but as always you've got a 30-day money-back guarantee no questions asked! Check out the preview lectures and join today!
=========================================
#jobreadyprogrammer #databasedeveloper #softwaredeveloper #career #sql #tableau #databases #database #webdeveloper #html #css #javascript #java #javabasics #javatutorial #javaprogramming #aws #admin #jobready #programmer
Рекомендации по теме
Комментарии
Автор

In my 15 years of professional Java experience I must say that this is the best explanation I have ever seen of stack and heap memory. Great job!

NOCDIB
Автор

I saw your OOP videos first and I prayed God that I find some videos for the heap and stack that you explain. I can't tell you how happy I was when I found this video. THANKS A TON :")

israayusuf
Автор

Brilliant video, couldn't have explained it any better!

suyashgupta
Автор

Not everyone learns in the same way. But, your way of explaining this makes a lot of sense to me, thank you for sharing such valuable info here!!

fer-torres
Автор

You have done a good job on demystifying the whole terminology things! You should be a teacher! Thanks for the subtitles too. Very helpful!

thestarinthesky_
Автор

The greatest explanation I've ever seen. Thank you, Imtiaz!

semyonnaumov
Автор

Imtiaz, I feel like sometimes I can hear your accent slip juuust a little. I can only imagine how hard it would was for to learn a language and really nail the accent in a clear, precise way for the native speakers you are teaching. Immense respect! Something I'm not sure I'd be capable of.

brandonlovatt
Автор

I'm going to repeat it step-by-step with my students.. Cool!

davitkvaratskhelia
Автор

the way you explain stuff is just amazing . Your udemy video on class design got me a job in a product company . thanks a ton

nishant
Автор

I went through multiple videos to understand stack and heap where there was some lagging but after seeing this video, it makes me clear. Thank you so much for explaining in detail

shashipagonda
Автор

Great explanation!
BTW, String is also a class, so 'name' variable's data will also be stored on heap. (Like explained for Car)

RahulYadav-qgec
Автор

man, it was an incredible explanation with just a pen and whiteboard. Thank you

mostafaahmadi
Автор

This guy is really good at explaining, this is the best explanation I've ever seen of stack and heap memory.
well done !

ehsansasanian
Автор

Pretty good video. Thanks!
But there are two important points you should've covered here:
1. Why does Java do this? I think the first question which comes to my mind is: why not store the objects on the stack too?
2. What happens when we call a method with arguments? For example, what happens when you call the method 'doWork' using that 'age' variable: doWork(age)? How do variables work then. Or if you call doWork with a reference variable, like myCar. Things get really interesting then :p


Other things you could've mentioned, not necessarily though:
1. This is the right place for you to just give a quick mention of what a stacktrace is. That stack diagram with method frames is just begging for you to mention stacktraes in passing. :-)
2. For people who might have studied DSA, might be wondering: yes, that looks like a stack but why it that called a heap?

SiddhantSaraf
Автор

Imtiaz: * Shows how primitive type save in the heap *
Me: "Cool, but what about class objec..."
Imtiaz: * Explains about class object *
Oh man, thanks you :)

ivanh
Автор

You should be teaching in schools, wonderful explanation

salvatoreamaddio
Автор

Great ...now m able to figure out what actually goes inside jre

MohdImran-rzto
Автор

You are a God's gifted teacher to all students n professionals. Hats off! Imtiaz.

srinivasanbalan
Автор

I watch this every time, before I starting any new project.

vishnupradeep
Автор

This is the best explanation I've ever seen about the stack and heap. Thank you so much!

amiladrck