0% found this document useful (0 votes)
6 views2 pages

Java Programming Language

Java is a high-level, object-oriented programming language that is platform-independent and developed by Sun Microsystems. Key features include simplicity, security, robustness, and support for multithreading and distributed applications. Java is widely used for various applications, including desktop, web, Android, and enterprise systems.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Java Programming Language

Java is a high-level, object-oriented programming language that is platform-independent and developed by Sun Microsystems. Key features include simplicity, security, robustness, and support for multithreading and distributed applications. Java is widely used for various applications, including desktop, web, Android, and enterprise systems.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

☕ Java Programming Language

📌 What is Java?

Java is a high-level, object-oriented, platform-independent programming language developed


by Sun Microsystems (now owned by Oracle). It follows the principle “Write Once, Run
Anywhere”.

🔧 Key Features of Java:

 Simple – Easy to learn, similar to C/C++


 Object-Oriented – Everything is treated as an object
 Platform Independent – Runs on any OS using JVM
 Secure – Built-in security features
 Robust – Strong memory management
 Multithreaded – Supports concurrent programming
 Distributed – For building internet-based applications

🧱 Basic Structure of Java Program:


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

🧠 Java Data Types:

 Primitive Types:
o int, float, double, char, boolean, byte, short, long
 Non-Primitive Types:
o Arrays, Strings, Classes, Interfaces

📦 OOP Concepts in Java:

Concept Description
Class Blueprint for objects
Concept Description
Object Instance of a class
Inheritance Acquiring features from another class
Polymorphism One interface, many forms
Abstraction Hiding details and showing essential info
Encapsulation Binding data and code in a single unit

📚 Common Java Keywords:

 class, public, static, void, new, if, else, for, while, return, this, super

🧰 Important Java Concepts:

 JDK – Java Development Kit (for compiling & running)


 JVM – Java Virtual Machine (executes bytecode)
 JRE – Java Runtime Environment (JVM + libraries)
 Packages – Groups of related classes (java.util, java.io)
 Exception Handling – try, catch, finally, throw
 Arrays and Strings – Built-in support

🌐 Java Applications:

 Desktop apps
 Web apps (JSP, Servlets)
 Android apps
 Enterprise systems
 Games and simulations

You might also like