Skip to main content

Java Buzzwords

 

 JAVA BUZZWORDS:-

Java प्रोग्रामिंग भाषा के निर्माण का प्राथमिक उद्देश्य इसे portable, सरल और सुरक्षित (secure) प्रोग्रामिंग भाषा बनाना था। इसके अलावा, कुछ excellent features भी हैं जो इस भाषा की लोकप्रियता में महत्वपूर्ण भूमिका निभाती हैं। Java के features को java buzzwords के नाम से भी जाना जाता है।

JAVA FEATURES:-

1) SIMPLE

2) OBJECT-ORIENTED

3) PLATFORM INDEPENDENT

4) SECURED

5) ROBUST

6) ARCHITECTURE - NEUTRAL

7) PORTABLE


1. SIMPLE

Java सीखना बहुत आसान है, और इसका Syntax सरल, clean और समझने में आसान है। Sun के अनुसार, Java भाषा एक सरल प्रोग्रामिंग भाषा है क्योंकि:

Java syntax C ++ पर आधारित है (ताकि programmers के लिए इसे C ++ के बाद सीखना आसान हो)।

Java ने कई जटिल और rarely-used features को हटा दिया है, उदाहरण के लिए, explicit pointers, operator overloading, आदि।

जावा में एक automatic garbage collection storage होने के कारण अपरिचित (unreferenced) objects को हटाने की कोई आवश्यकता नहीं है।

2. Object-oriented

जावा एक object-oriented प्रोग्रामिंग भाषा है। जावा में सब कुछ एक object है। Object-oriented का मतलब है कि हम अपने सॉफ़्टवेयर को विभिन्न प्रकार की objects के combination के रूप में व्यवस्थित करते हैं जो data और behavior दोनों को शामिल करते हैं।

ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग (OOPs) एक कार्यप्रणाली है जो कुछ नियमों को प्रदान करके सॉफ्टवेयर development और रखरखाव (maintenance) को सरल बनाती है।

OOP के basic concepts हैं:

Object

Class

Inheritance

Polymorphism

Abstraction

Encapsulation

3. Platform Independent

जावा Platform Independent है क्योंकि यह अन्य भाषाओं जैसे C , C ++ आदि से अलग है , जिन्हें platform specific machines में compile किया गया है, जबकि java write once, run anywhere है। एक Platform हार्ड-वेयर या सॉफ्टवेयर environment है जिसमें एक program चलता है।

दो तरह के platforms हैं सॉफ्टवेयर आधारित और hardware आधारित। java एक सॉफ्टवेयर-आधारित platform प्रदान करता है।

Java platform अधिकांश अन्य platforms से इस अर्थ में भिन्न है कि यह एक सॉफ़्टवेयर-आधारित प्लेटफ़ॉर्म है जो अन्य hardware-आधारित प्लेटफार्मों के top पर चलता है। इसके दो घटक हैं:

Runtime Environment

API(Application Programming Interface)

जावा कोड को कई प्लेटफार्मों पर चलाया जा सकता है, उदाहरण के लिए,Windows, Linux, Sun solaris, Mac/OS आदि। जावा कोड को compiler द्वारा compile किया जाता है और इसे bytecode में परिवर्तित किया जाता है। यह bytecode एक प्लेटफ़ॉर्म-independent कोड है क्योंकि इसे कई प्लेटफ़ॉर्म पर चलाया जा सकता है, यानी write once और  Run Anywhere (WORA)।

4. Secured

जावा Security के लिए सबसे ज्यादा जाना जाता है। जावा के साथ, हम वायरस-मुक्त सिस्टम विकसित कर सकते हैं। जावा सुरक्षित है क्योंकि:

कोई स्पष्ट pointer नहीं (No explicit pointer)

जावा प्रोग्राम एक virtual machine sandbox के अंदर चलते हैं

Classloader: जावा में Classloader जावा Runtime Environment (JRE) का एक हिस्सा है, जिसका उपयोग जावा Classess को जावा virtual मशीन में dynamically लोड करने के लिए किया जाता है। यह स्थानीय फ़ाइल सिस्टम की Classes के लिए पैकेज को अलग करके security जोड़ता है जो नेटवर्क sources से import किए जाते हैं।

Bytecode Verifier: यह अवैध कोड के लिए कोड अंशों (fragments) की जांच करता है जो objects के access right का उल्लंघन कर सकता है।

Security Manager: यह निर्धारित करता है कि कोई class, local disk में reading और writing जैसे क्या resources access कर सकती हैं।

जावा भाषा default रूप से इन securities को प्रदान करती है। SSL, JAAS, Cryptography, आदि के माध्यम से स्पष्ट रूप से एक एप्लिकेशन डेवलपर द्वारा कुछ सुरक्षा प्रदान की जा सकती है।

5. Robust

Robust का मतलब है मजबूत। java मजबूत है क्योंकि: यह मजबूत मेमोरी प्रबंधन का उपयोग करता है।ऐसे pointers की कमी है जो सुरक्षा समस्याओं को avoid करते हैं।

जावा में automatic garbage collection है जो जावा virtual मशीन पर उन objects से छुटकारा पाने के लिए चलता है जो अब जावा एप्लिकेशन द्वारा उपयोग नहीं किए जा रहे हैं।

जावा में exeception handling और type checking mechanism हैं। ये सभी points जावा को मजबूत बनाते हैं।

6. Architecture-neutral

जावा architecture neutral है क्योंकि इसमें implementation dependent features नहीं हैं, उदाहरण के लिए, primitive types का आकार fixed है।C programming में, int data type में 32-bit आर्किटेक्चर के लिए 2 bytes और 64-bit आर्किटेक्चर के लिए 4 bytes की मेमोरी होती है। हालाँकि, यह जावा में 32 और 64-बिट आर्किटेक्चर दोनों के लिए 4 bytes मेमोरी occupy करता है।

7. Portable

जावा पोर्टेबल है क्योंकि यह आपको जावा bytecode को किसी भी प्लेटफ़ॉर्म पर ले जाने की सुविधा देता है। इसके लिए किसी implementation की आवश्यकता नहीं है।

8. High-performance

जावा अन्य पारंपरिक interpreted programming भाषाओं की तुलना में तेज़ है क्योंकि जावा bytecode, native कोड के “close” है। यह अभी भी compiled languages (जैसे, C++) की तुलना में थोड़ा धीमा है। जावा एक interpreted भाषा है, यही कारण है कि यह compiled भाषाओं की तुलना में धीमी है, जैसे, C, C++, आदि।

9. Distributed

जावा वितरित किया जाता है क्योंकि यह उपयोगकर्ताओं को जावा में distributed एप्लिकेशन बनाने की सुविधा देता है। RMI और EJB, distibuted applications को बनाने के लिए उपयोग किया जाता है। जावा की यह सुविधा हमें इंटरनेट पर किसी भी machine से methods को call करके फ़ाइलों तक पहुंचने में सक्षम बनाती है।

10. Multi-threaded

एक thread एक अलग कार्यक्रम की तरह है, concurrently executing. हम जावा प्रोग्राम लिख सकते हैं जो कई threads को परिभाषित करके एक साथ कई tasks से निपटते हैं। multi-threading का मुख्य लाभ यह है कि यह प्रत्येक thread के लिए मेमोरी occupy नहीं करता है। यह एक common मेमोरी area साझा करता है। multi-media, web application आदि के लिए threads महत्वपूर्ण हैं।

11. Dynamic

जावा एक गतिशील (dynamic) भाषा है। यह classes के dynamic loading का समर्थन करता है। इसका मतलब है कि classes demand पर load की जाती हैं। यह अपनी मूल भाषाओं अर्थात C और C ++ के functions का भी समर्थन करता है।

जावा dynamic compilation और automatic memory management (garbage collection) का समर्थन करता है।


Comments

Popular posts from this blog

Dalton's Atomic Theory—(Chemistry)

Dalton's Atomic Theory The theory that' all matter is made up of very tiny indivisible particles (atoms)' is called atomic theory of matter. Dalton's put forward his Atomic Theory of matter in 1808. The various postulates of Dalton's atoAto Theory of matter are as follows: All the matter is made up of very small particles called 'atoms'. Atoms cannot be divided. Atoms can neither be created nor destroyed Atoms are of various kinds. There are as many kinds of atoms as are elements. All the atoms of a given element are identical in every respect, having the same mass, size and chemical properties. Atoms of different elements differ in mass, size and chemical properties. Chemical combination between two elements consists in the joining together of atoms of these elements to form molecules of compounds. Drawbacks of Dalton's Atomic Theory It is now known that some of the statements of Dalton's Atomic Theory of matter are not exactly corre...

What is HTML or HTML tags

HTML 1) HTML stands for Hyper Text Markup Language 2) Created by Ten Berners-Lie in 1991 but published in 1995 3) It is Client side web technology. 4) It has predefined elements are called tags, used to"markup" a text documents. HTML TAGS 1 <html>_____</html>     Declare the Web page to be written in HTML. 2 <head>_____</head>       Delimits the pages head. 3 <title>______</title>       Defines the title.(not display on the page) 4 <body>_____</body>      Delimits the pages body. 4 <hn>_____</hn>      Delimits a level in heading. 5 <b>_____</b>      Set in boldface 6 <i>_____</i>       Set in italics. 7 <center>_____</center>      Center on the page horizontal. 8 <ul>_____</ul>     ...

Is claims responsibility for Niger attack which killed 71

NIAMEY, Dec 13 (AFP) The Islamic state group has claimed responsibility for an attack on an Army camp in Niger which left 71 military personnel dead, the SITE Intelligence group said on Thursday.    Hundreds of jihadists attacked the camp, near the border with Mali with shells and mortars on Tuesday, killed 71, injuring 122 and leaving other missing' according to the Defence Ministry. The attack in Inates in the western Tillaberi region was the deadliest on Nigers military since Islamist militant violence began to spill over from neighbouring Mali in 2015. "The Islamic States West Africa Province (ISWAP) claimed credit for the deadly raid on the Inates military base in Niger, "SITE, which monitors jihadist media, said.