Java Introduction

What is Java?

Java is a high-level,object oriented programming language developed by sun microsystems.
It is mostly used for building web applications.
It is platform independent,because we can write it once,it will run on any device if jvm is instal…


This content originally appeared on DEV Community and was authored by Kavya S

What is Java?

  • Java is a high-level,object oriented programming language developed by sun microsystems.
  • It is mostly used for building web applications.
  • It is platform independent,because we can write it once,it will run on any device if jvm is installed

Why object-oriented?

Java is object oriented because it focuses on the concept of object and supports encapsulation,inheritance,polymorphism and abstraction.

Core concepts of Java Ecosystems
JDK = JRE + Development Tools
JRE = JVM + Libraries

  • Compiler translates the human readable code to machine readable code.
  • That compiler consists of multiple set of software known as Java Development KIT.
  • We save that java file using .java after that byte code will save that file as .class
  • Java virtual machine,converts Java bytecode (compiled code) into machine code.
  • It is the intermediate between java code and hardware.
  • The JIT or Just-In-Time compiler converts bytecode into native machine code at runtime.

Example Java Code

public class Hello{
public static void main(String args[]){
System.out.println("Hello World");
}
}


This content originally appeared on DEV Community and was authored by Kavya S


Print Share Comment Cite Upload Translate Updates
APA

Kavya S | Sciencx (2025-10-13T07:01:05+00:00) Java Introduction. Retrieved from https://www.scien.cx/2025/10/13/java-introduction/

MLA
" » Java Introduction." Kavya S | Sciencx - Monday October 13, 2025, https://www.scien.cx/2025/10/13/java-introduction/
HARVARD
Kavya S | Sciencx Monday October 13, 2025 » Java Introduction., viewed ,<https://www.scien.cx/2025/10/13/java-introduction/>
VANCOUVER
Kavya S | Sciencx - » Java Introduction. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/10/13/java-introduction/
CHICAGO
" » Java Introduction." Kavya S | Sciencx - Accessed . https://www.scien.cx/2025/10/13/java-introduction/
IEEE
" » Java Introduction." Kavya S | Sciencx [Online]. Available: https://www.scien.cx/2025/10/13/java-introduction/. [Accessed: ]
rf:citation
» Java Introduction | Kavya S | Sciencx | https://www.scien.cx/2025/10/13/java-introduction/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.