Posts

Showing posts from October, 2023

Java's support system जावा का सहयोगी तंत्र

a) Java Code- Java code is used to define the Java applet. जावा कोड- जावा कोड का प्रयोग, जावा एप्लेट को परिभाषित करने के लिए किया जाता है। b) Byte code – It is a compilation of Java code that is referenced in the applet tag and transferred to the user's computer. बाइट कोड- यह जावा कोड का संकलन होता है जिसे एप्लेट टैग में संदर्भित किया गया है और उपयोगकर्ता के कंप्यूटर पर स्थानांतरित किया जाता है। c) HTML- Its full name is Hypertext Markup Language. It is used to create electronic documents (called Web pages) that are displayed on the World Wide Web. Each page contains a series of hyperlinks to reach other pages. Every web page you see on the Internet is written in HTML code. एचटीएमएल- इसका पूरा नाम हाइपरटेक्स्ट मार्कअप लैंग्वेज है। इसका उपयोग इलेक्ट्रॉनिक दस्तावेज़ (जिसे वेब पेज कहा जाता है) बनाने के लिए किया जाता है जो वर्ल्ड वाइड वेब पर प्रदर्शित होते हैं। प्रत्येक पेज में अन्य पेज पर पहुचने के लिए हाइपरलिंक की एक श्रृंखला होती है। इंटरनेट पर आप जो भी वेब पेज देखते हैं,...

web browser वेब ब्राउज़र

A web browser is a special type of application software that is used to search, retrieve, and display information on the World Wide Web. It receives images, text, videos and other important files from the World Wide Web in the form of web pages. In the client-server model, the web browser is a client running on the local computer.A person contacts a web server and requests information. Now the web server provides the results to the web browser regarding his request. The browser presents it to the user as a web page. A web browser can be run on a computer, mobile or any other internet-enabled device. It is a Java enabled web browser that runs Java applets. वेब ब्राउजर एक विशेष प्रकार का एप्लिकेशन सॉफ्टवेयर होता है जिसका उपयोग वर्ल्ड वाइड वेब पर जानकारियों की खोज करने, उन्हें प्राप्त करने और प्रदर्शित करने के लिए किया जाता है। यह वर्ल्ड वाइड वेब से वेबपेज के रूप में चित्र, टेक्स्ट, वीडियो और अन्य महत्वपूर्ण फाइलें प्राप्त करता हैं। क्लाइंट-सर्वर मॉडल में, वेब ब्राउज़र स्थानीय कंप्यूटर प...

Setting path and class path in Java जावा में पथ एवं क्लास पथ सेट करना

After installing Java Development Kit, you have to set the path and class path of JDK in the system. Here path is the address of bin folder of JDK, in environment variable for path set PATH=C:\Program Files\Java\JDK1.6.20\bin; जावा डेवलपमेंट किट इंस्टॉल करने के पश्चात्, आपको सिस्टम में जेडीके का पथ एवं क्लास पथ सेट करना होता है यहाँ पथ जेडीके के बिन फोल्डर का पता होता है, पथ के लिए पर्यावरण चर में set PATH=C:\Program Files\Java\JDK1.6.20\bin;  लिखे  and एवं  Class path describes the location where all the required files are available which are used in the application. In Windows OS, you can set the Java classpath from the control panel as follows- क्लास पथ उस स्थान का वर्णन करता है जहां सभी आवश्यक फाइलें उपलब्ध हैं जो एप्लिकेशन में उपयोग की जाती हैं। विंडोज़ ओएस में जावा क्लासपथ कंट्रोल पैनल से निम्न प्रकार सेट कर सकते है- 1. First select start सर्वप्रथम प्रारंभ(start) का चयन करें 2. Go to Control Panel कंट्रोल पैनल पर जाएं 3. Choose System and Security सिस्टम और सुरक्षा ...

Java download and installation जावा डाउनलोड एवं इंस्टालेशन

Image
Some PCs may have Java pre-installed. To check if you have installed Java on Windows PC, search for Java in the Start bar or type the following in the command prompt (cmd.exe)- कुछ पीसी में जावा पहले से इंस्टॉल हो सकता है। यह जांचने के लिए कि क्या आपने विंडोज पीसी पर जावा स्थापित किया है, जावा के लिए स्टार्ट बार में खोजें या कमांड प्रॉम्प्ट (cmd.exe) में निम्नलिखित टाइप करें- C:\Users\Your Name>java –version If Java is installed, you will see lines like this depending on the Java version- यदि जावा स्थापित है, तब आपको जावा संस्करण के आधार पर कुछ इस तरह की पंक्तियाँ दिखाई देंगी – If Java is not installed on your computer i.e. JDK is not already installed in your system then first download and install it from oracle.com as per your operating system (like Windows, Linux or others). यदि आपके कंप्यूटर पर जावा स्थापित नहीं है अर्थात जेडीके आपके सिस्टम में पहले से इंस्टॉल नहीं है तब पहले इसे अपने ऑपरेटिंग सिस्टम (जैसे विंडोज,लिनक्स या अन्य) के अनुसार oracle.com से डाउनलोड और इंस्टॉल करें। ...

JAVA and WWW जावा और वर्ल्ड वाइड वेब-

The World Wide Web, commonly known as WWW, W3 or the Web, is an interconnected system of storing publicly accessible web pages. In 1989, Sir Tim Berners-Lee, a British scientist, invented the World Wide Web (WWW) while working at an organization called CERN. वर्ल्ड वाइड वेब को सामान्यतः WWW, W3 या वेब के नाम से जाना जाता है यह सुलभ सार्वजनिक वेबपेजों को संगृहीत करने की एक इंटरकनेक्टेड प्रणाली है। सन 1989 में सर टिम बर्नर्स-ली ब्रिटिश वैज्ञानिक ने सर्न नामक संस्था में कार्य करते हुए वर्ल्ड वाइड वेब (WWW) का आविष्कार किया था। The World Wide Web was developed primarily to meet the demand for automated information-sharing among scientists working in universities and institutions around the world. The World Wide Web maintains web pages that provide both information and control. वर्ल्ड वाइड वेब को मुख्यतः दुनिया भर के विश्वविद्यालयों और संस्थानों में कार्यरत वैज्ञानिकों के बीच स्वचालित सूचना-साझाकरण की मांग को पूरा करने के लिए विकसित किया गया था। वर्ल्ड वाइड वेब द्वारा ऐसे वेब पेज रखे जाते ह...

Java and Internet जावा और इंटरनेट

The Internet is a vast network that connects computers around the world. Internet is said to be a network of many networks i.e. it contains various types of public, private, educational, commercial and local to global level networks. इंटरनेट एक विशाल नेटवर्क है जो दुनिया भर के कंप्यूटरों को जोड़ता है। इंटरनेट को कई नेटवर्क का एक नेटवर्क कहा  जाता है है अर्थात इसमें विभिन्न प्रकार के  सार्वजनिक, निजी, शैक्षणिक, व्यावसायिक और स्थानीय से वैश्विक स्तर के नेटवर्क उपस्थित होते हैं।  Through the Internet, we can share information and communicate with other people from anywhere in the world. These are linked to a wide range of technologies such as electronic, wireless and optical networking. इंटरनेट के माध्यम से, हम दुनिया में कहीं से भी जानकारी साझा कर सकते हैं और अन्य लोगो के साथ संवाद कर सकते हैं। यह  इलेक्ट्रॉनिक, वायरलेस और ऑप्टिकल नेटवर्किंग इत्यादि प्रौद्योगिकियों की एक व्यापक व्यवस्था से जुड़े होते हैं।   It works by using a packet routing network that follows t...

Applications of Object Oriented Programming ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग के अनुप्रयोग

Object-Oriented Programs are used to solve complex, real-world problems and to develop a wide variety of software applications. OOP provides a structured and modular way to design software efficiently. ऑब्जेक्ट ओरिएंटेड प्रोग्राम्स का उपयोग जटिल वास्तविक समस्याओं को हल करने एवं विविध प्रकार के सॉफ्टवेयर विकसित करने के लिए किया जाता है। यह एक सुव्यवस्थित एवं मॉड्यूलर तरीके से सॉफ्टवेयर तैयार करने की सुविधा देता है। 🔷 a) Real-Time Systems Design Real-time systems have many internal complexities. OOP provides a unified framework to manage these complexities efficiently. It also helps to analyze system behavior over time. रियल टाइम सिस्टम में अंतर्निहित कई जटिलताएं होती हैं जिन्हें ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग द्वारा एकीकृत ढांचा प्रदान कर आसानी से नियंत्रित किया जा सकता है। साथ ही सिस्टम के व्यवहार का समय-समय पर विश्लेषण किया जा सकता है। 🔷 b) Simulation and Modeling Modeling complex systems like ecology, medical science, or agriculture becomes manageable with OOP by providi...

Benefits or Advantages of Object Oriented Programming ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग के लाभ या विशेषताएं

Object-Oriented Programming (OOP) is the core of modern programming languages like Java, C++, Python, and C#. Unlike traditional procedural programming, OOP models software using real-world entities and focuses on modularity, reusability, and data security. ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग, आज की आधुनिक प्रोग्रामिंग भाषाओं का आधार है। यह पारंपरिक प्रोसीज़रल प्रोग्रामिंग के मुकाबले सॉफ्टवेयर को वास्तविक दुनिया की इकाइयों के रूप में मॉडल करता है और मॉड्यूलरिटी, पुनः उपयोग और डेटा सुरक्षा पर बल देता है। 🔷 a) Data and Functions Together In OOP, data and related functions are grouped into a single unit called a class , and encapsulation protects data from unauthorized access. ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग में यूजर के डेटा और उससे जुड़े फंक्शन को एक ही इकाई में रखा जाता है जिसे क्लास कहते हैं, और इनकैप्सुलेशन की मदद से डेटा को बाहरी अनधिकृत एक्सेस से सुरक्षित किया जाता है। 🔷 b) Easy Mapping to Real-World Problems OOP helps programmers relate code with real-life situations. This mak...

Principles of Object Oriented Programming (OOP) ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग के सिद्धांत

🌟 Introduction (परिचय) Object-Oriented Programming (OOP) is the foundation of Java . It solves the problems of older languages like C or Pascal by organizing programs around real-world entities such as objects and classes. Java follows 8 main principles of OOP. Let’s explore them one by one in detail with English-Hindi explanation and examples. ✅ 1. Object (ऑब्जेक्ट) An object is a real-world entity. It is the basic unit of OOP. Objects hold data (variables) and functions (methods) to process that data. 📌 Example of objects in real life: Car, Student, Account, Mobile. 📘 Programming View: Objects are created from a class and occupy memory . They communicate using messages . 🟣 हिन्दी में समझें: ऑब्जेक्ट, OOP की मूल इकाई होती है। इसमें डेटा और फंक्शन होते हैं। यह मेमोरी में स्थान घेरता है और अन्य ऑब्जेक्ट्स से मैसेज द्वारा संवाद करता है। ✅ 2. Class (क्लास) A class is like a template or blueprint for objects. It defines what data and methods an object will ...

Programming Model, प्रोग्रामिंग मॉडल, Procedural Programming, प्रोसीज़रल प्रोग्रामिंग, Object Oriented Programming, ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग with java examples

🧩 What is a Programming Model? Programming Model defines the structure and implementation style of a programming language. It guides how a problem is analyzed and solved using the key features and building blocks of the language. 👉 In simple words: “A programming model shows how a program is written in a specific language to solve a problem.” 🧩 प्रोग्रामिंग मॉडल क्या है? प्रोग्रामिंग मॉडल किसी प्रोग्रामिंग लैंग्वेज की संरचना और कार्यप्रणाली को परिभाषित करता है। यह बताता है कि किसी समस्या का समाधान प्रोग्राम के रूप में कैसे तैयार किया जाए। 👉 आसान शब्दों में: "प्रोग्रामिंग मॉडल यह दर्शाता है कि किस प्रकार एक समस्या को हल करने के लिए प्रोग्राम लिखा जाता है।" 🔸 Types of Programming Models Most programming languages use one of the following two models: 1️⃣ Procedural Programming (प्रोसीज़रल प्रोग्रामिंग) This model is based on procedures or functions . It follows a top-down design approach and keeps data and logic separate . 🟠 Key Features: Does...