Introduction of java programming language and java programming features

Introduction to Java programming/ जावा प्रोग्रामिंग का परिचय

Java is a general, object programming language developed by Sun Microsystems of USA in 1991. Originally called Oak by James Gosling, one of inventions of the language, java was designed for the development of software for consumer electronic devices like TVs, VCRs, toasters and such other electronic machines. The goal had a strong impact on the development team to make the language simple, portable and highly reliable.

जावा 1991 में संयुक्त राज्य अमेरिका के सन माइक्रोसिस्टम्स द्वारा विकसित एक सामान्य, वस्तु प्रोग्रामिंग भाषा है। मूल रूप से जेम्स गोस्लिंग द्वारा ओक कहा जाता है, भाषा के आविष्कारों में से एक, जावा को टीवी, वीसीआर, टोस्टर और जैसे उपभोक्ता इलेक्ट्रॉनिक उपकरणों के लिए सॉफ्टवेयर के विकास के लिए डिज़ाइन किया गया था। ऐसी अन्य इलेक्ट्रॉनिक मशीनें। भाषा को सरल, पोर्टेबल और अत्यधिक विश्वसनीय बनाने के लिए लक्ष्य का विकास दल पर गहरा प्रभाव पड़ा।

Introduction of java programming language and  java programming features

Java Features/ जावा विशेषताएं

  1. Compiled Interpreted/ संकलित व्याख्या
  2. Platform - Independent/ स्वतंत्र मंच 
  3. Portable/ पोर्टेबल
  4. Distributed/ वितरित
  5. Object - Oriented/ वस्तु के उन्मुख
  6. Robust/ मज़बूत
  7. Secure/ सुरक्षित
  8. Familiar, Simple/ परिचित, सरल
  9. Small/ छोटा
  10. Multithreaded and Interactive High Performance/ मल्टीथ्रेडेड और इंटरएक्टिव उच्च प्रदर्शन
  11. Dynamic and Extensible/ गतिशील और एक्स्टेंसिबल
  12. Additional feature of J2SE 5.0/ J2SE 5.0 की अतिरिक्त विशेषता
  13. Ease of Development/ विकास में आसानी
  14. Scalability and performance/ मापनीयता और प्रदर्शन
  15. Monitoring and Manageability/ निगरानी और प्रबंधन क्षमता
  16. Desktop Client/ डेस्कटॉप क्लाइंट
  17. Core XML Support/ कोर एक्सएमएल समर्थन
  18. Supplementary Character Support/ पूरक चरित्र समर्थन

How Java Differs from C and C++/ जावा C और C++ से कैसे भिन्न है?

For the benefit of C and C++ programmers, we point out here a few major differences between C/C++ and java languages.

सी और सी ++ प्रोग्रामर के लाभ के लिए, हम यहां सी/सी ++ और जावा भाषाओं के बीच कुछ प्रमुख अंतर बताते हैं।

Java and C/ जावा और सी

  • Java is a lot like C but the major differences between java and C is that java is an object -  oriented language and has mechanism to define classes and objects. In an effort to build a simple and safe language, the java team did not include some of the C features in java./ जावा बहुत सी की तरह है लेकिन जावा और सी के बीच प्रमुख अंतर यह है कि जावा एक वस्तु-उन्मुख भाषा है और इसमें कक्षाओं और वस्तुओं को परिभाषित करने के लिए तंत्र है। एक सरल और सुरक्षित भाषा बनाने के प्रयास में, जावा टीम ने जावा में कुछ सी सुविधाओं को शामिल नहीं किया।
  • Java does not include the unique statement keywords sizeof and typedef./ जावा में अद्वितीय कथन कीवर्ड sizeof और typedef शामिल नहीं है।
  • Java does not support the two data types struct, union./ जावा दो डेटा प्रकार struct, union का समर्थन नहीं करता है।
  • Java does not define the type modifiers keywords. Keywords are following :-
         जावा दो डेटा प्रकार struct, union का समर्थन नहीं करता है।
  1. Auto
  2. Extern
  3. Register
  4. Signed
  5. Unsigned
  • Java does not support an explicit pointer type./ जावा एक स्पष्ट सूचक प्रकार का समर्थन नहीं करता है।
  • Java does not have a preprocessor and therefore we cannot use # define, # include and # ifdef statements./ जावा में प्रीप्रोसेसर नहीं है और इसलिए हम # define, #include और # ifdef कथन का उपयोग नहीं कर सकते हैं।
  • Java requires that the functions with no arguments must be declared with empty parenthesis and not with the void keyword as done in C./  जावा की आवश्यकता है कि बिना तर्क वाले कार्यों को खाली कोष्ठक के साथ घोषित किया जाना चाहिए, न कि सी में किए गए शून्य कीवर्ड के साथ।
  • Java adds new operators such as instanced and >>>/ जावा नए ऑपरेटरों को जोड़ता है जैसे कि instanced और >>>
  • Java adds labelled break and continue statements./ जावा लेबल ब्रेक जोड़ता है और स्टेटमेंट जारी रखता है।
  • Java adds many features required for object oriented programming./ जावा ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग के लिए आवश्यक कई सुविधाएँ जोड़ता है।

Java and C++

Java is true object -oriented language while C++ is basically C with object - oriented extension. That is what exactly the increment operator ++ indicates. C++ has maintained backward compatibility with C. It is therefore possible to write an old style C program and run it successfully under C++. Java appears to be similar to C++ then we consider only the extension part of C++. However, some object - oriented features of C++ make the C++ code extremely difficult to follow and maintain.

जावा वास्तविक वस्तु-उन्मुख भाषा है जबकि C++ मूल रूप से वस्तु-उन्मुख विस्तार के साथ C है। ठीक यही इंक्रीमेंट ऑपरेटर ++  indicates करता है। सी ++ ने सी के साथ पिछड़ा संगतता बनाए रखा है। इसलिए पुरानी शैली सी प्रोग्राम लिखना और इसे सी ++ के तहत सफलतापूर्वक चलाना संभव है। जावा सी ++ के समान प्रतीत होता है तो हम केवल सी ++ के विस्तार भाग पर विचार करते हैं। हालाँकि, C++ की कुछ वस्तु-उन्मुख विशेषताएं C++ कोड को अनुसरण करने और बनाए रखने में अत्यंत कठिन बना देती हैं।

Listed below are some major C++ features that were intentionally omitted from java or  significantly modified./ नीचे सूचीबद्ध कुछ प्रमुख सी ++ विशेषताएं हैं जिन्हें जानबूझकर जावा से छोड़ा गया था या महत्वपूर्ण रूप से संशोधित किया गया था।

  1. C++ support operator overloading but java does not support operator overloading./ सी ++ सपोर्ट ऑपरेटर ओवरलोडिंग लेकिन जावा ऑपरेटर ओवरलोडिंग का समर्थन नहीं करता है।
  2. C++ have template classes but java not support./ सी ++ में टेम्पलेट कक्षाएं हैं लेकिन जावा समर्थन नहीं करता है।
  3. Java does not support multiple inheritance concept. This is accomplished using a new feature called interface./ जावा एकाधिक वंशानुक्रम अवधारणा का समर्थन नहीं करता है। यह इंटरफ़ेस नामक एक नई सुविधा का उपयोग करके पूरा किया गया है।
  4. Java does not support global variables. Every variable and method is declared within a class and forms part of that class./ जावा वैश्विक चर का समर्थन नहीं करता है। प्रत्येक चर और विधि को एक वर्ग के भीतर घोषित किया जाता है और उस वर्ग का हिस्सा बनता है।
  5. They are not using pointer but in C++ language used pointer./ Java में पॉइंटर का उपयोग नहीं कर रहे हैं लेकिन सी ++ भाषा में पॉइंटर का इस्तेमाल किया जाता है।
  6. Java has replaced the destructor function with a finalize() function./ जावा ने destructor function को finalize() function फ़ंक्शन के साथ बदल दिया है।
  7. There are no header files in java./ जावा में कोई हेडर फाइल नहीं है।


Click Here ----> Detail information in hindi JavaScript project to calculate student marks

Previous
Next Post »

Please do not entering spam link in the comment box ConversionConversion EmoticonEmoticon