My Hindi Forum

Go Back   My Hindi Forum > New India > Young World
Home Rules Facebook Register FAQ Community

Reply
 
Thread Tools Display Modes
Old 24-06-2011, 08:06 PM   #21
Nitikesh
Diligent Member
 
Nitikesh's Avatar
 
Join Date: Nov 2010
Location: vadodara
Posts: 1,424
Rep Power: 21
Nitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to behold
Smile Re: आओ java सीखे ::

Quote:
Originally Posted by abhisays View Post
चलिए श्रीगणेश किया जाए..

सबसे पहले आप एक कंप्यूटर का जुगाड़ करिए जिसमे windows xp या उससे ऊपर का OS इन्स्टाल हो.

फिर अगला काम हम लोग यह करेंगे की जावा सॉफ्टवेर इन्स्टाल करेंगे..

जावा एक platform independent programming language हैं/
तो क्या हम इसे LINUX based OS पर भी चला सकते हैं?
__________________
The world suffers a lot. Not because of the violence of bad people, But because of the silence of good people!

Support Anna Hazare fight against corruption...

Notice:->All the stuff which are posted by me not my own property.These are collecting from another sites or forums.
Nitikesh is offline   Reply With Quote
Old 24-06-2011, 08:07 PM   #22
abhisays
Administrator
 
abhisays's Avatar
 
Join Date: Dec 2009
Location: Bangalore
Posts: 16,772
Rep Power: 137
abhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond repute
Send a message via Yahoo to abhisays
Default Re: आओ java सीखे ::

दोस्तों अब तक जो मैंने किया वो कर के देखिये और बताइए की सब सही चल रहा है की नहीं..

कही कोई भी confusion हो तो बताये.
__________________
अब माई हिंदी फोरम, फेसबुक पर भी है. https://www.facebook.com/hindiforum
abhisays is offline   Reply With Quote
Old 24-06-2011, 08:09 PM   #23
abhisays
Administrator
 
abhisays's Avatar
 
Join Date: Dec 2009
Location: Bangalore
Posts: 16,772
Rep Power: 137
abhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond repute
Send a message via Yahoo to abhisays
Default Re: आओ java सीखे ::

Quote:
Originally Posted by Nitikesh View Post
जावा एक platform independent programming language हैं/
तो क्या हम इसे LINUX based OS पर भी चला सकते हैं?

जावा आप किसी भी OS पर चला सकते है, लेकिन मैं windows के लिए बता रहा हूँ..

इसके २ कारण हैं.

१. एक तो मेरे पास केवल windows OS ही है.
२. अधिकतर लोग windows ही इस्तेमाल करते हैं.
__________________
अब माई हिंदी फोरम, फेसबुक पर भी है. https://www.facebook.com/hindiforum
abhisays is offline   Reply With Quote
Old 24-06-2011, 08:11 PM   #24
abhisays
Administrator
 
abhisays's Avatar
 
Join Date: Dec 2009
Location: Bangalore
Posts: 16,772
Rep Power: 137
abhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond repute
Send a message via Yahoo to abhisays
Default Re: आओ java सीखे ::

Quote:
Originally Posted by Nitikesh View Post
जावा एक platform independent programming language हैं/
तो क्या हम इसे LINUX based OS पर भी चला सकते हैं?
aapne bahut hi अच्छा पॉइंट उठाया है.

चलिए जावा की कुछ खास properties एक बार देख लेते है

Unlike many other programming languages including C and C++ when Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. This byte code is distributed over the web and interpreted by virtual Machine (JVM) on whichever platform it is being run.

JVM के बारे में आगे विस्तार से चर्चा करेंगे.
__________________
अब माई हिंदी फोरम, फेसबुक पर भी है. https://www.facebook.com/hindiforum
abhisays is offline   Reply With Quote
Old 24-06-2011, 08:12 PM   #25
abhisays
Administrator
 
abhisays's Avatar
 
Join Date: Dec 2009
Location: Bangalore
Posts: 16,772
Rep Power: 137
abhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond repute
Send a message via Yahoo to abhisays
Default Re: आओ java सीखे ::

Java is an object oriented programming language it has following features:
  • Reusability of Code
  • Emphasis on data rather than procedure
  • Data is hidden and cannot be accessed by external functions
  • Objects can communicate with each other through functions
  • New data and functions can be easily added
Java has powerful features. The following are some of them:-
Simple
Reusable
Portable (Platform Independent)
Distributed
Robust
Secure
High Performance
Dynamic
Threaded
Interpreted

Object Oriented Programming is a method of implementation in which programs are organized as cooperative collection of objects, each of which represents an instance of a class, and whose classes are all members of a hierarchy of classes united via inheritance relationships.

OOP Concepts


Four principles of Object Oriented Programming are

Abstraction
Encapsulation
Inheritance
Polymorphism

Abstraction
Abstraction denotes the essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer.
Encapsulation

Encapsulation is the process of compartmentalizing the elements of an abstraction that constitute its structure and behavior ; encapsulation serves to separate the contractual interface of an abstraction and its implementation.
Encapsulation
* Hides the implementation details of a class.
* Forces the user to use an interface to access data
* Makes the code more maintainable.
Inheritance
Inheritance is the process by which one object acquires the properties of another object.
Polymorphism
Polymorphism is the existence of the classes or methods in different forms or single name denoting different
implementations.
Java is Distributed

With extensive set of routines to handle TCP/IP protocols like HTTP and FTP java can open and access the objects across net via URLs.


Java is Multithreaded

One of the powerful aspects of the Java language is that it allows multiple threads of execution to run concurrently within the same program A single Java program can have many different threads executing independently and continuously. Multiple Java applets can run on the browser at the same time sharing the CPU time.
Java is Secure

Java was designed to allow secure execution of code across network. To make Java secure many of the features of C and C++ were eliminated. Java does not use Pointers. Java programs cannot access arbitrary addresses in memory.
Garbage collection

Automatic garbage collection is another great feature of Java with which it prevents inadvertent corruption of memory. Similar to C++, Java has a new operator to allocate memory on the heap for a new object. But it does not use delete operator to free the memory as it is done in C++ to free the memory if the object is no longer needed. It is done automatically with garbage collector.
__________________
अब माई हिंदी फोरम, फेसबुक पर भी है. https://www.facebook.com/hindiforum
abhisays is offline   Reply With Quote
Old 24-06-2011, 08:13 PM   #26
abhisays
Administrator
 
abhisays's Avatar
 
Join Date: Dec 2009
Location: Bangalore
Posts: 16,772
Rep Power: 137
abhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond repute
Send a message via Yahoo to abhisays
Default Re: आओ java सीखे ::

यह सब तो theory के बातें है जो आपको किसी भी किताब में मिल जायेगी, मुद्दे के बात यह है की आप इस बातो को practical कर के देखे तो मज़ा है.
__________________
अब माई हिंदी फोरम, फेसबुक पर भी है. https://www.facebook.com/hindiforum
abhisays is offline   Reply With Quote
Old 24-06-2011, 08:18 PM   #27
abhisays
Administrator
 
abhisays's Avatar
 
Join Date: Dec 2009
Location: Bangalore
Posts: 16,772
Rep Power: 137
abhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond repute
Send a message via Yahoo to abhisays
Default Re: आओ java सीखे ::

तो दोस्तों ...

अब तक हम लोगो ने केवल जावा इन्स्टाल किया है...

classpath सेट किया है..

२ चीजें की हैं..

अब सवाल यह है की classpath क्या होता है.. लेकिन इससे पहले यह जानना होगा की क्लास क्या होता है..

उससे भी पहले यह करते है की एक जावा का पहला प्रोग्राम बनाते है.. और उसे रन करते है..

तब इन सब बातो पर प्रकाश डालेंगे..
__________________
अब माई हिंदी फोरम, फेसबुक पर भी है. https://www.facebook.com/hindiforum
abhisays is offline   Reply With Quote
Old 24-06-2011, 08:28 PM   #28
Nitikesh
Diligent Member
 
Nitikesh's Avatar
 
Join Date: Nov 2010
Location: vadodara
Posts: 1,424
Rep Power: 21
Nitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to behold
Default Re: आओ java सीखे ::

मैं जावा की पाथ को अलग तरह से सेट करता हूँ/
एक notepad खोलिए.
उसमे bin file पाथ लिखिए/जैसे set path=C:\jdk1.6.0_07\bin;
यह मेरे कंप्यूटर में बिन फाइल का पाथ है/अत: जब आप JDK इन्स्टाल करते हैं तो देख लें की आपके जावा की बिन फाइल कहाँ है/
इसके बाद आप जहाँ पर प्रोग्राम सेव करते है या करने वाले है वहां का पाथ लिखे.
जैसे--- set classpath=Z:\java;
इस notepad को .batch के साथ सेव कर दें/सेव करते समय all file का आप्शन रखें.
अब CMD खोले और batch फाइल को run करे.यदि बिना किसी एर्रोर के run हो गयी तो समझ लीजिये की आपने सही बेच फाइल बनाया है और आपका पाथ सेट हो गया है/आप इस फाइल में थोडा सुधार कर के दुसरे कंप्यूटर में भी इस्तेमाल कर सकते हैं/
__________________
The world suffers a lot. Not because of the violence of bad people, But because of the silence of good people!

Support Anna Hazare fight against corruption...

Notice:->All the stuff which are posted by me not my own property.These are collecting from another sites or forums.
Nitikesh is offline   Reply With Quote
Old 24-06-2011, 08:32 PM   #29
Nitikesh
Diligent Member
 
Nitikesh's Avatar
 
Join Date: Nov 2010
Location: vadodara
Posts: 1,424
Rep Power: 21
Nitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to beholdNitikesh is a splendid one to behold
Smile Re: आओ java सीखे ::

अभिषेक जी पहले प्रोग्राम की शुरुवात HELLO WORLD से कीजिये/
यह तो इस दुनियां का सबसे कॉमन प्रोग्राम है!
इस प्रोग्राम को रन किये बिना कोई भी सॉफ्टवेर इंजिनियर नहीं बन सकता है/
__________________
The world suffers a lot. Not because of the violence of bad people, But because of the silence of good people!

Support Anna Hazare fight against corruption...

Notice:->All the stuff which are posted by me not my own property.These are collecting from another sites or forums.
Nitikesh is offline   Reply With Quote
Old 24-06-2011, 08:34 PM   #30
abhisays
Administrator
 
abhisays's Avatar
 
Join Date: Dec 2009
Location: Bangalore
Posts: 16,772
Rep Power: 137
abhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond reputeabhisays has a reputation beyond repute
Send a message via Yahoo to abhisays
Default Re: आओ java सीखे ::

Quote:
Originally Posted by Nitikesh View Post
अभिषेक जी पहले प्रोग्राम की शुरुवात HELLO WORLD से कीजिये/
यह तो इस दुनियां का सबसे कॉमन प्रोग्राम है!
इस प्रोग्राम को रन किये बिना कोई भी सॉफ्टवेर इंजिनियर नहीं बन सकता है/

बिलकुल hello world से ही आरम्भ होगा..
__________________
अब माई हिंदी फोरम, फेसबुक पर भी है. https://www.facebook.com/hindiforum
abhisays is offline   Reply With Quote
Reply

Bookmarks

Tags
java


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT +5. The time now is 07:06 AM.


Powered by: vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
MyHindiForum.com is not responsible for the views and opinion of the posters. The posters and only posters shall be liable for any copyright infringement.