• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 13 pages
Summary

Summary - Phython

Document preview thumbnail
Preview 2 out of 13 pages

Providing in depth analysis information for each student one of most favorable notes

Content preview

Java Complete Notes (Hinglish Mein)


1. Java Kya Hai?
Java ek high-level, object-oriented, platform-independent programming language hai
jise James Gosling ne 1995 mein Sun Microsystems (ab Oracle ke paas) ke liye banaya tha.

Explanation: Java ka sabse bada USP hai “Write Once, Run Anywhere” (WORA). Iska
matlab hai ki aap Java code ek machine par likh kar compile karte ho, aur wahi compiled
code kisi bhi doosri machine (Windows, Linux, Mac) par bina modification ke chal sakta hai
— bas us machine par JVM (Java Virtual Machine) hona chahiye. Yeh possible hota hai
kyunki Java code directly machine code mein compile nahi hota, balki ek intermediate
“bytecode” mein convert hota hai jise JVM interpret karta hai.




2. Java Ki Features
1. Simple – Syntax C/C++ jaisa hai lekin complex cheezein (pointers, multiple inheritance
via classes) hata di gayi hain.

2. Object-Oriented – Har cheez object ke roop mein represent hoti hai (kuch primitive
types chhod kar).

3. Platform Independent – Bytecode + JVM ke through.

4. Secure – No explicit pointers, bytecode verification, sandboxing.

5. Robust – Strong memory management, automatic garbage collection, exception
handling.

6. Multithreaded – Ek saath multiple tasks (threads) execute ho sakte hain.

7. Architecture Neutral – Compiled bytecode kisi bhi processor architecture par chalta
hai.

8. High Performance – JIT (Just-In-Time) compiler ki wajah se bytecode ko runtime par
native code mein convert kiya jaata hai, jisse speed badhti hai.

9. Distributed – Networking-related classes (java.net) built-in hain, RMI jaisi cheezein
support hoti hain.

, 10. Dynamic – Runtime par classes load ho sakti hain.

Explanation: Yeh saari features Java ko enterprise-level applications (banking, e-
commerce, Android apps) ke liye ideal banati hain kyunki security, portability aur reliability
ek saath milti hai.




3. JDK, JRE, JVM
JVM (Java Virtual Machine): Yeh ek abstract machine hai jo bytecode ko execute karti
hai. Yahi platform-independence ka core hai. JVM ke andar Class Loader, Bytecode
Verifier, aur Execution Engine hote hain.

JRE (Java Runtime Environment): JVM + Libraries (predefined classes jaise java.util,
java.lang). Agar aapko sirf Java program run karna hai, JRE kaafi hai.

JDK (Java Development Kit): JRE + Development Tools (compiler javac , debugger,
etc.). Agar aapko Java code likhna aur compile karna hai, JDK chahiye.

Explanation: Relationship samajhne ka simple tareeka: JDK ⊃ JRE ⊃ JVM. Developer JDK
install karta hai; end-user sirf app chalane ke liye JRE install karta hai.




4. Basic Program Structure

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


Explanation:

public class HelloWorld – Class ka naam file name ke saath match hona chahiye
(HelloWorld.java).

public static void main(String[] args) – Yeh entry point hai jahan se JVM program
execution start karta hai.

public – JVM ke bahar se accessible.

static – Bina object banaye call ho sakta hai.

void – Kuch return nahi karta.

Document information

School year
1
Uploaded on
July 9, 2026
Number of pages
13
Written in
2025/2026
Type
Summary
$11.39

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
4
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions