Toptube Video Search Engine



Title:#4 How Java Works
Duration:12:03
Viewed:327,162
Published:16-01-2023
Source:Youtube

Telusko Courses: Industry Ready Java Spring Microservices Developer Live : https://bit.ly/JavaMS2 Complete Java Developer Course : https://bit.ly/Comp-Java-Dev-2 Coupon: TELUSKO20 (20% Discount) Java Simplified LiveCourse : https://bit.ly/java-pro-telusko Advance Java with Spring Boot Live Course : https://bit.ly/adv-java-telusko Complete java developer Course : https://bit.ly/complete-java Coupon Code: TELUSKO10 (10% off) Udemy Courses: Java:- https://bit.ly/JavaUdemyTelusko Spring:- https://bit.ly/SpringUdemyTelusko Java For Programmers:- https://bit.ly/javaProgrammers For More Queries WhatsApp or Call on : +919008963671 website : https://courses.telusko.com/ n this lecture we will learn: - Steps to execute the Java code - What is Byte Code? - Java is a platform-independent language - Execution always starts from the main method - Object-oriented language - What are JRE and JDK? #1 Steps to run the Java Code:- - We required JVM to run a java code. - The job of the JVM is to execute the java code that you have created but it does not accept the code directly. - JVM does not accept the Java code as it only understands the Byte Code. - Java compiler also known as javac is used to convert java code into byte code. - The extension for the byte code is .class - Thus, the code written by the programmer is first converted into byte code by the compiler and then that byte code goes to the JVM for further execution. Programmer- Java Code- Compiler- Byte Code- JVM #2 Java is a platform-independent language:- It means you can run Java on any machine irrespective of any hardware or operating system. The one thing that the machine requires to run a java code is a JVM. :- JVM is platform dependent and it needs to be built for a particular OS. #3 In Java, execution always starts from the main method:- - JVM starts execution only with one first file. If you need to run multiple files you need to tell it which one is the first file through which JVM can start execution. - The first file must contain the main method with its proper signature. - In Java, execution always starts from the main method. Signature of main method: public static void main(String args[]) #4 Java is an object-oriented language:- - Object-oriented means everything should be an object. - We always required a class to create an object. #5 JRE:- - To run the Java application, you need extra libraries and need runtime. Runtime is something where you run things. - You use extra libraries, and you also need an environment. An additional layer is present above the OS known as JRE. - JVM is a part of JRE. JRE includes JVM and libraries. JVM - Java Virutal Machine JRE - Java Runtime Environment - For development purposes, you need to install JDK (Java Development Kit) which consists of JRE and JVM. - Java is WORA that is Write Once Run Anywhere provided that JVM and JDK installed. Github repo : https://github.com/navinreddy20/Javacode.git Java:- https://bit.ly/JavaUdemyTelusko Spring:- https://bit.ly/SpringUdemyTelusko More Learning : Java :- https://bit.ly/3x6rr0N Python :- https://bit.ly/3GRc7JX Django :- https://bit.ly/3MmoJK6 JavaScript :- https://bit.ly/3tiAlHo Node JS :- https://bit.ly/3GT4liq Rest Api :-https://bit.ly/3MjhZwt Servlet :- https://bit.ly/3Q7eA7k Spring Framework :- https://bit.ly/3xi7buh Design Patterns in Java :- https://bit.ly/3MocXiq Docker :- https://bit.ly/3xjWzLA Blockchain Tutorial :- https://bit.ly/3NSbOkc Corda Tutorial:- https://bit.ly/3thbUKa Hyperledger Fabric :- https://bit.ly/38RZCRB NoSQL Tutorial :- https://bit.ly/3aJpRuc Mysql Tutorial :- https://bit.ly/3thpr4L Data Structures using Java :- https://bit.ly/3MuJa7S Git Tutorial :- https://bit.ly/3NXyCPu Donation: PayPal Id : navinreddy20 https://www.telusko.com



SHARE TO YOUR FRIENDS


Download Server 1


DOWNLOAD MP4

Download Server 2


DOWNLOAD MP4

Alternative Download :