Skip to main content

Command Palette

Search for a command to run...

Introduction to Java

Published
•1 min read•View as Markdown
V

Greetings! I'm Vishnu Vinay, a Computer Science and Engineering graduate holding a B. Tech degree. Currently immersed in the captivating world of Artificial Intelligence, I am on a quest for knowledge while pursuing a graduate certificate in Artificial Intelligence with Machine Learning. My passion lies in sharing insights and discoveries in the fields of AI, Machine Learning, Artificial General Intelligence, and Robotics through engaging blog posts. Proficient in Python, ML libraries, and algorithms, I find joy in developing and deploying ML models, with a focus on leveraging AWS Sagemaker. Join me on this exciting journey of unraveling the mysteries of AI through the lens of coding, exploration, and the ever-evolving landscape of machine learning. Let's embark on this knowledge-sharing adventure together!

Java is a programming language that is both compiled and interpreted.

Code conversion:

The source code (the one we write) gets compiled into byte code (a code only understood by machines), and later the byte code gets interpreted by JVM (Java Virtual Machine) and finally executed and displays the result.

Compiled -> Scans the entire code in one go and then executes (if no error exists).

Interpreter -> Scans each line of code and executes it(if no error exists).

/ Simply speaking, some English teachers read the entire chapter in one go and gives a summary (Compiler way), while some other explains each line(Interpreter way).

Requirements:

Running Java programs requires JDK (Java Development Kit) and JRE (Java Runtime Environment).

Note: Java is a statically typed language meaning every variable must be declared before using it.

More from this blog

Untitled Publication

31 posts