Git Product home page Git Product logo

core_java's Introduction

Core_Java

Installation steps:

https://www.guru99.com/install-eclipse-java.html

References:

Java The Complete Reference, Eighth Edition

https://www.programiz.com/java-programming

About Java:

  • simple, high level, robust, object-oriented, multithreaded, platform independent and secure programming language.
  • was developed by Sun Microsystems, now owned by Oracle.
  • James Gosling is known as the father of Java.

How Java compiles and execute program?

  1. Compilation: Parsing, Process Annotations, Flow, Generates Bytecode (.class file)
  2. Execution: ClassLoader(The main class is loaded into the memory bypassing its ‘.class’ file to the JVM), Bytecode Verifier(job is to check that the instructions don’t perform damaging actions), Just-In-Time Compiler(job is to convert the loaded bytecode into machine code) image

JDK, JRE, and JVM

Java Development Kit (JDK) is a software development environment used for developing Java applications and applets. It includes the Java Runtime Environment (JRE), an interpreter/loader (Java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc), and other tools needed in Java development.

JRE stands for “Java Runtime Environment”. It provides the minimum requirements for executing a Java application; it consists of the Java Virtual Machine (JVM), core classes, and supporting files.

JVM is responsible for executing the java program line by line, hence it is also known as an interpreter. image

Important Notes:

Run Java program using ternminal

  1. Locate the file and make sure you are in the same folder in which file is located.
  2. Run javac File.java. This will compile and create the bytecode of the program (.class)
  3. After compiling the program, run java File command.

Recursion

https://www.edureka.co/blog/wp-content/uploads/2019/08/2019-08-06-12_31_29-Window.png

https://dotnettrickscloud.blob.core.windows.net/img/oops/types-of-inheritance-c-sharp.png

https://static.javatpoint.com/images/core/interfacerelation.jpg

https://media.geeksforgeeks.org/wp-content/cdn-uploads/Access-Modifiers-in-Java.png

core_java's People

Contributors

sanjeevmishra391 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.