This video is amazing. No other video actually explains any of this, they just tell you to "put this here and that there". It feels good to actually make a functional Gui, but it doesn't help not knowing why it works the way it does.
In this first lesson am going to introduce you to the following fifteen Java keywords or Java related concepts: package import class method variable public void @Test CamelCase dot semicolon object constructor variable declaration object allocation It’s okay if you don’t directly grasp everything. We will go in more detail and recap the important parts later on...
+Marcus Biel Very nice and clean explanation. I have a question: How much prior Java knowledge is required before jump into Android development? Would you say that this beginners tutorial series is good enough to start with Android tutorials afterward? I'm not absolute beginner in programming, I learned basic Javascript, HTML and CSS.
Well, as always, it depends. It depends on what you want to achieve, how fast you are, how much time and effort you invest... Generally speaking, my goal for this Java course is to give you a SOLID basis to do any kind of development including Android development. You could also directly start with Android development, but my course is not only teaching you Java, but ALSO clean code principles, giving you practical hands on advice on what to do and what to avoid.
Thanks a lot! Don't forget to check out my blog also. For every video, it contains a long and detailed article, written with love and passion as well. Soon a free book will follow also :)
I'm learning programming from scratch, and I have chosen Java as a 1st language. I found this video to be one of the best beginner videos out there. What may have helped me is I have been exposed to some java code at work over the last week, and this video helped me put the pieces together in terms of how to read a method (among some other basic concepts). I liked the pace, and the simplicity. You explain things very well for the beginner. I want to thank you for taking the time to put this together and for your open welcoming of feedback. I became a bit unclear during the discussion about variables, especially at the end around the relationship between objects and variables. I will go back and re-review several times so I can get it.
+19Pulsar Can you be more specific of what is unclear to you? A class is like a template, a written down idea how something should be. Then when the program starts, there will be a time when the "computer" needs to use this class / idea / template to create something "living" out of it, it will "sit" in the memory and the "computer" will be able to work in it.
+Marcus Biel Thanks for your response. I am clear on the idea that class is a template and at run time an object is created in memory from that class. I was a bit unclear about the relationship with the variable, specifically in this line: Car myPorsche = new Car(1, 320); However, after reviewing it again, I think I'm starting to understand it. We are creating an object of the Car class and also a variable called "myPorche" and linking them together. What is the benefit of doing this? Is it so I can reference myPorche without having to create an object again? Any other benefits? Also, why do I have to type "Car" twice in that line. Seems like additional manual work to type the class name twice.
+19Pulsar Yes. This allows you to reference the object you created later on. If you create an object without any reference to it, the JVM (more specifically the so called Garbage Collector) is allowed to "remove" the object from memory (it won't be actually removed, it will just be allowed to overwrite it from then on). One more tip - often it is WISE to NOT specifically create a new object - e.g. when you just want to return it from a method - it is enough to say "return new Car();" This way, your code is shorter and you save one reference :)
+Marcus Biel I have been looking at some advanced code and it looks like it may be using this concept but in a different manner. Say you have class CarOne. In another class, say CarTwo, a variable is declared at the top as CarOne carOne; No other information is on that line. Then later in the CarTwo class, a new method may call a method in CarOne by prefixing object carOne. I'm guessing it's the same idea?
+19Pulsar This is a so called "instance variable", as this makes one object part of another object (you can also say "instance"). You as the programmer can decide at what time the object related to this CarTwo variable will be created - sometimes, this will in the same line, which creates the two objects pretty much at the same time. Sometimes however, this might not be possible, because only when you run the program you have the necessary information to create the object. An instance variable can be used / seen in the whole class, in every method, so you can in another method at a later time say car2 = new Car2(), or you can also create it completly somewhere else - then you can forward the reference variable of the Car2 object to a method and say car= otherCar2 - so what will basically happen in the background is it will COPY the VALUE of the reference variable which is something like a number, a pointer - it will copy this from the one variable to the other - there is only one object the entire time - you can have several reference variables pointing ALL to the same one object...
You are AMAZING!! The game changer between you and other "youtube coders" is you explain a word before you use it-- most don't and we are all lost by the 2 minute mark! Amazing work and thank you for the great videos!
I'm learning from scratch and I like it. The fact that you better defined it as an Object Oriented Language helped me the most. I have a tendency to think in the abstract, so this helped me think about using concrete language specific to the job.
Thank you Marcus. This is very informational, and good for those who are beginners, who need extra detail. This helps to compliment the classes that I am taking as well. Thank you.
VERY good, I have tried multiple learning channels and also Lynda.com, you managed to explain things in a better way than all of them, thank you very much and keep up the good work :)
Very nice tutorial. Important topics are being described in detail. Even if one knows about classes and methods in Java, is good to watch this video, to get a better understanding of them. Phootis
Found this guy video years ago and here's the thing, this week i just read a book about java by Joshua Bloch out of curiosity and surprise surprise, this guy name are mentioned on the book as the advisor to writer there's no way that there's a coincidence in name similarities and field of knowledge.. The more you know, the better it'll be. Because you're dealing with expert level guy here not a so-random-dude teaching you
Hi , Marcus, ty for your hard work and generosity. I will follow u since this course seems to be one of the few that incorporate Intellij. My goal is to figure out how to implement APIs from external sources, such as Yahoo finance in order to "catch" real time forex data and plot it in candle stick form. I have a workable charting program from the web, as open sourced by the author; the only part missing is connecting it to Yahoo finance api in order to feed it real time market data. If you have some suggestion as to how to begin and research this topic in order to make it a reality i would be enormously grateful.
Hello Marcus, You have explained it really well, specially for beginners, explaination of keywords is really good. Please can you tag the OOPs concept where are they applied, which video is explaining which feature of OOP. Thank you so much for amazing videos.
The course is a series of videos you can find here on my RUclips channel. Or go to my website Marcus-biel.com, it has all vídeos plus the course as a free book with additional information.
@@MarcusBiel I kneeewww ittt!!! I know datttt accent! Ich bin Indien, aber spreche ich ein bisschen Deutsch! Nur ein bisschen.... Und... Noch einmal... Danke Sehr für der Lektion!
A modifier modifying the access?! 😋 Yeah I don't like this word too much either. It is for instance public private or package private (not written, the default).
can you tell me which theme are you using so I'll have easier time following your teaching? the default theme comes with different icons and I'm not sure what is what :)
I have answered this in my videos about "Interfaces" and "Inheritance" - episodes 16 and 17 - or just continue to watch the episodes, one by one, and you will know, soon! :)
Wow Mr. Smart and who created that video?! It was posted on FreeCodeCamp as a copy from my channel with my permision. On FreeCodeCamp, however, you will only find half of my videos actually.
Helps even 6 years later, thank you so much
This video is amazing. No other video actually explains any of this, they just tell you to "put this here and that there". It feels good to actually make a functional Gui, but it doesn't help not knowing why it works the way it does.
Thanks. You might want to try out my latest videos, for example "Immutables in Java".
In this first lesson am going to introduce you to the following fifteen Java keywords or Java related concepts:
package
import
class
method
variable
public
void
@Test
CamelCase
dot
semicolon
object
constructor
variable declaration
object allocation
It’s okay if you don’t directly grasp everything. We will go in more detail and recap the important parts later on...
+Marcus Biel Very nice and clean explanation. I have a question: How much prior Java knowledge is required before jump into Android development? Would you say that this beginners tutorial series is good enough to start with Android tutorials afterward? I'm not absolute beginner in programming, I learned basic Javascript, HTML and CSS.
Well, as always, it depends. It depends on what you want to achieve, how fast you are, how much time and effort you invest... Generally speaking, my goal for this Java course is to give you a SOLID basis to do any kind of development including Android development. You could also directly start with Android development, but my course is not only teaching you Java, but ALSO clean code principles, giving you practical hands on advice on what to do and what to avoid.
+Marcus Biel Thank you Marcus. I will continue to follow your tutorials.
Your welcome! Let me know if there is anything I can help you with! :)
thank you so muck for making this video .
I'm a programmer also ,but the way you explained the topics i have never seen such teachers.
you are great.
Thanks a lot! Don't forget to check out my blog also. For every video, it contains a long and detailed article, written with love and passion as well. Soon a free book will follow also :)
I'm learning programming from scratch, and I have chosen Java as a 1st language. I found this video to be one of the best beginner videos out there. What may have helped me is I have been exposed to some java code at work over the last week, and this video helped me put the pieces together in terms of how to read a method (among some other basic concepts). I liked the pace, and the simplicity. You explain things very well for the beginner. I want to thank you for taking the time to put this together and for your open welcoming of feedback.
I became a bit unclear during the discussion about variables, especially at the end around the relationship between objects and variables. I will go back and re-review several times so I can get it.
+19Pulsar Can you be more specific of what is unclear to you? A class is like a template, a written down idea how something should be. Then when the program starts,
there will be a time when the "computer" needs to use this class / idea / template to create something "living" out of it, it will "sit" in the memory and the "computer" will be able to work in it.
+Marcus Biel Thanks for your response. I am clear on the idea that class is a template and at run time an object is created in memory from that class.
I was a bit unclear about the relationship with the variable, specifically in this line: Car myPorsche = new Car(1, 320);
However, after reviewing it again, I think I'm starting to understand it. We are creating an object of the Car class and also a variable called "myPorche" and linking them together. What is the benefit of doing this? Is it so I can reference myPorche without having to create an object again? Any other benefits? Also, why do I have to type "Car" twice in that line. Seems like additional manual work to type the class name twice.
+19Pulsar Yes. This allows you to reference the object you created later on. If you create an object without any reference to it, the JVM (more specifically the so called Garbage Collector) is allowed to "remove" the object from memory (it won't be actually removed, it will just be allowed to overwrite it from then on).
One more tip - often it is WISE to NOT specifically create a new object - e.g. when you just want to return it from a method - it is enough to say "return new Car();" This way, your code is shorter and you save one reference :)
+Marcus Biel I have been looking at some advanced code and it looks like it may be using this concept but in a different manner. Say you have class CarOne. In another class, say CarTwo, a variable is declared at the top as CarOne carOne; No other information is on that line. Then later in the CarTwo class, a new method may call a method in CarOne by prefixing object carOne. I'm guessing it's the same idea?
+19Pulsar This is a so called "instance variable", as this makes one object part of another object (you can also say "instance"). You as the programmer can decide at what time the object related to this CarTwo variable will be created - sometimes, this will in the same line, which creates the two objects pretty much at the same time. Sometimes however, this might not be possible, because only when you run the program you have the necessary information to create the object. An instance variable can be used / seen in the whole class, in every method, so you can in another method at a later time say car2 = new Car2(), or you can also create it completly somewhere else - then you can forward the reference variable of the Car2 object to a method and say
car= otherCar2 - so what will basically happen in the background is it will COPY the VALUE of the reference variable which is something like a number, a pointer - it will copy this from the one variable to the other - there is only one object the entire time - you can have several reference variables pointing ALL to the same one object...
You are AMAZING!! The game changer between you and other "youtube coders" is you explain a word before you use it-- most don't and we are all lost by the 2 minute mark! Amazing work and thank you for the great videos!
I'm learning from scratch and I like it. The fact that you better defined it as an Object Oriented Language helped me the most. I have a tendency to think in the abstract, so this helped me think about using concrete language specific to the job.
This is the best Java tutorial ever. Thank you for all the effort you are making to teach us java.
Thank you Marcus. This is very informational, and good for those who are beginners, who need extra detail. This helps to compliment the classes that I am taking as well. Thank you.
+Audrey Delgado Thanks! If you have any question, let me know, happy to help :)
VERY good, I have tried multiple learning channels and also Lynda.com,
you managed to explain things in a better way than all of them,
thank you very much and keep up the good work :)
Your welcome :) Check out my latest videos, I think and hope I have improved over time :)
You have a great way of explaining these terms! Amazing work, thank you!
Thanks for your positive feedback :)
Thanks for your positive feedback :)
Very nice tutorial. Important topics are being described in detail. Even if one knows about classes and methods in Java, is good to watch this video, to get a better understanding of them.
Phootis
+Φώτης Τσακίρης Thanks! If there is anything else I can help you with, just let me know :)
Found this guy video years ago and here's the thing, this week i just read a book about java by Joshua Bloch out of curiosity and surprise surprise, this guy name are mentioned on the book as the advisor to writer there's no way that there's a coincidence in name similarities and field of knowledge.. The more you know, the better it'll be. Because you're dealing with expert level guy
here not a so-random-dude teaching you
Why r online teachers always so much better than in person teachers
because these are free
Hi , Marcus, ty for your hard work and generosity. I will follow u since this course seems to be one of the few that incorporate Intellij.
My goal is to figure out how to implement APIs from external sources, such as Yahoo finance in order to "catch" real time forex data and plot it in candle stick form. I have a workable charting program from the web, as open sourced by the author; the only part missing is connecting it to Yahoo finance api in order to feed it real time market data. If you have some suggestion as to how to begin and research this topic in order to make it a reality i would be enormously grateful.
Hello Marcus, You have explained it really well, specially for beginners, explaination of keywords is really good. Please can you tag the OOPs concept where are they applied, which video is explaining which feature of OOP. Thank you so much for amazing videos.
The explanation is really worth the time. Thanks alot. Please provide a link to the full video
The course is a series of videos you can find here on my RUclips channel. Or go to my website Marcus-biel.com, it has all vídeos plus the course as a free book with additional information.
@@MarcusBiel thank you sir
wow!Well explained,eye-catching, mind-sticking and interesing! the keywords are home!thanks Marcus biel!cheers
thanks! :)
anyone 2021?
?!!
thank you so much..
you deserve the best
So, if I read this like MethodReadLast.readThird.readSecond.readFirst this would be the correct way to read those periods in the method, correct?
Loved the session! Thankeeww so much Marcus! ... May I know what's ur nationality?
I am from Munich, Germany.
@@MarcusBiel I kneeewww ittt!!! I know datttt accent! Ich bin Indien, aber spreche ich ein bisschen Deutsch! Nur ein bisschen.... Und... Noch einmal... Danke Sehr für der Lektion!
What is an access modifier?? Really loving the tutorials btw
A modifier modifying the access?! 😋 Yeah I don't like this word too much either. It is for instance public private or package private (not written, the default).
@@MarcusBiel thank you!😂😅
Super. Please give exercise for more practice
can i still learn this?
as java 8 is old ,
sorry i am new to coding
Well Done!
Is it better to memorize these?
Thanks man! This is really easy to follow :D
You're welcome! :)
Thanks, great explanation.
Amazing
can you tell me which theme are you using so I'll have easier time following your teaching?
the default theme comes with different icons and I'm not sure what is what :)
Intellij idea dracula theme
I know it's dracula theme, I meant what are the icons on the project tool window
Thanks BTW :)
@@Shvmadogg I don't know what you mean. All intellij default.
thanks man. amazing tutorial.
Nice
Thank you so much sir.. Can i get your theories in pdf format??
Sure, on my website...
Thank you!
Thank you. Excellent!
How can we install.
What is abstraction.
I have answered this in my videos about "Interfaces" and "Inheritance" - episodes 16 and 17 - or just continue to watch the episodes, one by one, and you will know, soon! :)
where are oops videos??
Great tutorial. Thank you.
Your welcome
☺
r u ksi's and Deji's father, Jide Olatunji?
Great video. really helped a lot :)
Your welcome ☺
Hey! Awesome tutorial! But you writed at 20:48 "Variable DeclaRtion".
+Furydash Thanks for letting me know.
Thank you sir:)
thank you
You're welcome!
great tutorial!
+radufffp Thanks :)
Excellent!!
Thanks ☺. Let me know if there is anything I could help you with.
+Marcus Biel yes, perfect sure in the future..thanks!
Cool.
If methods could cook for me, I'd be so happy.
and after I wrote this comment, you started talking about cooking, coincidence?
+jxsl13 ;-)
video by free code camp lmaoo
Wow Mr. Smart and who created that video?! It was posted on FreeCodeCamp as a copy from my channel with my permision. On FreeCodeCamp, however, you will only find half of my videos actually.