YTread Logo
YTread Logo

Java Programming Tutorial 1 - Introduction to Java

Jun 10, 2021
welcome everyone to my channel, my name is Caleb and this video series will give you everything you need to know to be a Java developer, so we will start as a complete newbie and by the end of this series you should already be writing Java applications like a pro and here's this beautiful quick drawing that you guys can look at for a couple of minutes while I talk. One thing that makes this series unique from all the other Java series on the internet is that I don't have the goal. to bore you to death. I'm going to try to make everything entertaining and fun now.
java programming tutorial 1   introduction to java
I'll just tell you right up front that it takes work to learn any

programming

language and you're not going to get there without practice, so with that. I wanted to introduce you to the sponsor of this series pram for those of you who don't know pram is a website where you can practice your coding and interview skills. It is a peer to peer interview system so you can contact other engineers like you, this website is huge if you want to get a job as a web developer or software engineer. I use this website to practice my data structures and algorithms and it was tremendously helpful, but that's not their only topic, they also have a systems design interface and even behavioral interviews so you know that if you're a socially awkward weirdo, you can go see the stroller in general.
java programming tutorial 1   introduction to java

More Interesting Facts About,

java programming tutorial 1 introduction to java...

The stroller is an amazing platform to practice your technical skills, interview skills and prepare for interviews at companies like Google Facebook Twitter Amazon Spotify and more, please go give it a try, you won't be disappointed. I will leave you a link in the description to continue with the Java

programming

language. Java is one of the most popular programming languages ​​and is often taught in schools, one of the huge benefits of Java. is that it allows you to create an application that can run on Windows, Mac and Linux, so it allows us to create an application that can be used by as many people as possible with as little work as possible and we'll talk about how all of that works in this series, but what you need to know now is that Java is a very powerful programming language that can allow you to create some pretty interesting applications.
java programming tutorial 1   introduction to java
Some of the things we'll talk about in this series are simply fundamental aspects of Java. So how to actually use the language, but also some of the technical details and the how and why behind what we're doing. I don't want you to understand what to write about the series. I want you to understand why we are here. do that and give you that foundation to be able to write your own applications now. I think one of the problems with people who study programming and just don't understand it is that they dive in too early and don't really understand. what they're trying to do, first we're going to talk a little bit about the architecture of Java, so we write code that's basically a series of commands to tell the computer what to do and Java has made the process our own. to the computer is very easy and why exactly that is, the reason is because Java is a higher level language and what that means is that you are actually a couple of steps away from talking directly to the computer, so basically we talk with Java and something that makes sense. for us and then it becomes something that the computer can understand, so if you wanted to see this visually, it would look like this boom.
java programming tutorial 1   introduction to java
Now there's a lot going on here, but we'll go through it from start to finish, when we write Java. code which is known as source code and these files will be named with a dot Java at the end so the asterisk just means any file so something dot Java and what happens is we compile this code into what is known as byte code. I don't actually look at this bytecode, but it is a very important step in this process, the bytecode will be of class dot, so what happens is that each of these operating systems can understand this bytecode, we don't have We have to worry about writing something for Windows and then we rewrite it for Mac and then we rewrite it for Linux, we only write one thing in Java and the rest is already done for us.
This seems a little magical, but there are a few things that make it possible. The first is what is known as JDK. the Java Development Kit and as you can imagine, that's how we develop in Java, so the JDK is up here and it gives us all the tools that we need to program in Java, the part down here that allows our code to run on all these different operating systems. systems, this is known as the JRE, the Java Runtime Environment, so there's the JDK and then the JRE, you can remember which is which, because the JDK is the Java Development Kit and the JRE is the runtime environment of Java and when I say runtime, just think about running the actual runtime environment. code for each of these operating systems to run our application, if this seems like a lot of jargon right now, trust me, by the end of the series this will be like second nature, but just for an overview, we rewrote the Java code and we do it with the help of the JDK and then we compile our Java files into dot class files that contain bytecode and then this bytecode is executed by these different operating systems using JRE, so one thing that always bothers me a little bit with Java is that if you have Java installed on your computer to run certain applications it asks them to update every two days and that drives me crazy.
I don't know if you've experienced that, but what it's asking you to update is the JRE, it's what allows people to run Java Applications on their computer to put this into context a little more. If you go on the Internet and you search for Java, what's going to happen is you're going to come up with this Java communication and this is the JRE, so this is what people are going to do. install to run your application, the other thing is the JDK, so if we look closely at JDK, now we have something else, Java SE, SE just means standard edition, it is the free version that everyone can download and use, this is what let's download.
Start programming in Java when you download the JDK it will include everything we need to run Java as well so we will be able to develop and run our Java so this includes the Java Runtime environment that you don't have to worry about downloading. both, so what we're going to do is go to this website here and download Java SE and the version may be newer, so it should be fine, but this is the version that I'm going to use for this course that you're going to need now. To download the version for your operating system, I'm going to develop on a Mac, so that's the one I'm going to download.
Ben dot dmg oh god you have to accept Shh here we go I'll leave that download and that's all I really have to say to introduce you to Java. In the next video, we're going to create our first Java program and just talk about all the pieces to get you started before they're gone. I want you to review the description because there will be other resources for you, specifically each of these videos will be linked to a blog that has the code there so you can copy and paste it or read it if you prefer and there will also be a link to a Crash Course Java, this is something that you would be interested in if you want a condensed version of this series, so if you want to review everything we talked about in this series or if you just want more practical examples and a syntax reference. guide for all the content, check that out guys, it could be really good if you want to prepare for a job or just study for an exam, I definitely recommend it.
The last few things will be a link to the sponsor who has been tremendously generous and has helped me. Do this series, so go to their site, sign up and give it a try, that's what I did honestly, it was one of the best decisions I ever made. I ended up using the stroller for personal use to study for a technical interview that ended up going very well. So I highly recommend them. If you have any questions, comments or concerns, leave them in the comments section below, subscribe and I'll see you in the next video.

If you have any copyright issue, please Contact