SlideShare a Scribd company logo
1 of 6
Download to read offline
29/11/2014 OOPS Basic Concepts with Examples in Hindi 
OOPS का योग करते हुए ͩकसी Problem को Solve करने से 
सà बंͬधत Basic Concepts 
OOPS Basic Concepts with Examples: हम Computer पर जो भी Program 
बनाते हɇ वो Program ͩकसी ना ͩकसी Real Life Problem को Solve करने के ͧलए बनाते 
हɇ और हर Real World Problem मɅ Real World Objects होते हɇ। इस िèथǓत मɅ 
OOPS एक ऐसा Concept है िजसके आधार पर हम ͪवͧभÛन कार कȧ Real Life से 
Related Problems को Solve करने के ͧलए हमारȣ समèया से सàबंͬधत ͪवͧभÛन Real 
World के Physical Objects को Computer मɅ Logically Represent कर सकते हɇ और 
उस Real Life से सàबंͬधत समèया को Computer मɅ Logically भी उसी तरह से Solve 
कर सकते हɇ, िजस तरह से उस समèया को Real World मɅ Physically Solve करते हɇ। 
ͩकसी Problem को Solve करने का वह System या तरȣका िजसके आधार पर ͩकसी 
Real World Problem को Solve करने के ͧलए उस Real World Problem से सàबंͬधत 
Physical Objects को Computer मɅ Logically Represent करके Problem को 
Computer वारा Solve ͩकया जा सके, Object Oriented Programming System 
(OOPS) कहलाता है और िजस Computer Programming Language मɅ OOPS के 
Concepts को ठȤक तरह से Implement ͩकया जा सकता है, उस Programming 
Language को Object Oriented Programming Language (OOPL) कहा जाता 
है। 
जावा एक ऐसी हȣ Object Oriented Programming Language है, िजसमɅ ͩकसी Real 
World समèया से सàबंͬधत ͪवͧभÛन Real World Physical Objects को Computer मɅ 
Logically Represent करके समèया को उसी कार से Logically Solve ͩकया जा सकता 
है, िजस तरह से उस समèया को Real World मɅ Physically Solve ͩकया जाता है। 
Problem – The Definition 
दुǓनयां के हर काम को सàपÛन करने के ͧलए हमɅ एक ͪवशेष म का पालन करना पडता है 
और जब हम ͩकसी काम को ठȤक तरȣके से कर लेते हɇ, तो पǐरणाम èवप हमɅ कुछ ना कुछ 
उͬचत Output ाÜत होता है। ठȤक इसी तरȣके से Computer से भी ͩकसी काम को करवाने 
के ͧलए हमɅ उससे एक ͪवशेष म का पालन करवाना पडता है और जब Computer हमारे 
बताए गए ͩकसी म के अनुसार काम कर लेता है, तो हमɅ कुछ ना कुछ उͬचत पǐरणाम भी 
ाÜत होता है। 
Download किजए, इस Website पर उपल ध ͩकसी भी पु तक के 100 से  यादा 
Pages, Free 
िजस ͩकसी भी काम को करने के ͧलए हमɅ ͩकसी ͪवशेष म का पालन करना पडता है, उस 
काम को हम एक Problem कह सकते हɇ। इस िèथǓत मɅ हर काम एक कार कȧ समèया 
होती है Èयɉͩक दुǓनयां के ͩकसी भी छोटे से छोटे काम को सàपÛन करने के ͧलए भी हमɅ 
ͩकसी ना ͩकसी म का पालन तो करना हȣ पडता है। एक उदाहरण से समझɅ तो यǑद हमɅ 
पानी पीना हो तो भी हमɅ एक Ǔनिæचत म का पालन करना पडता है। पानी पीने के ͧलए भी 
हमɅ: 
data:text/html;charset=utf­8,% 
3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 1/6
29/11/2014 OOPS Basic Concepts with Examples in Hindi 
सबसे पहले ͬगलास लेना पडेगा। [ Variable Declaration ] 
ͬगलास मɅ पानी लेना पडेगा। [ Input ] 
ͩफर उस पानी को मुंह तक लाना पडेगा [ Process ] 
पानी मुंह मɅ जाएगा और तृिÜत का अहसास होगा। [ Output ] 
यानी पानी पीने के ͧलए भी हमɅ एक Ǔनिæचत म का पालन करना पड रहा है, इसͧलए पानी 
पीने को भी हम एक कार कȧ समèया के प मɅ देख सकते हɇ। 
Data – Value OR a Set of Values 
मूल प से देखा जाए तो Computer के ͧलए ͩकसी भी कार का मान या मानɉ का समूह 
Data कहलाता है। Computer मɅ हम ͩकसी भी मान को मुÉ यतः तीन कार से Specify 
कर सकते हɇ। 
Download किजए, इस Website पर उपल ध ͩकसी भी पु तक के 100 से  यादा 
Pages, Free 
Integer 
जब हमɅ Computer मɅ ͩकसी ऐसे मान को Store करना होता है, िजसमɅ केवल पूण संÉ याएं 
हȣ होती हɇ, तब उस Value को Integer कार कȧ Value कहा जाता है। 
Float 
जब हमɅ Computer मɅ ͩकसी ऐसे मान को Store करना होता है िजसमɅ दसमलव वालȣ 
संÉ या होती है, तब उस Value को Float कार कȧ Value कहा जाता है। 
Character 
जब हमɅ Computer मɅ केवल Characters Store करने होते हɇ, तब इस कार के मान को 
Character कार का मान कहते हɇ। 
Object – The Definition 
दुǓनयां कȧ हर उस चीज को Object कह सकते हɇ, िजसे Physically देखा जा सके या 
Logically ͩकसी Ǒदखाई देने वालȣ चीज के Reference मɅ महसूस ͩकया जा सके। जैसाͩक 
हमने कहा ͩक Object को देखा जा सकता है, इसका मतलब ये हुआ ͩक हर वह चीज 
िजसका कोई रंग, प व आकार हो वह Object है। जैसे ͩक Keyboard, Employee, 
Client आǑद। इसी कार से हर वह चीज िजसे ͩकसी Ǒदखाई देने वालȣ चीज के Reference 
मɅ महसूस ͩकया जा सके, Object है। जैसे Bank Account. 
हर Object कȧ कुछ ͪवशेषताएं होती हɇ, िजसकȧ वजह से कोई एक Object ͩकसी दूसरे 
Object से अलग पहचाना जाता है। ͩकसी भी Object कȧ इन ͪवशेषताओं को हम उस 
Object के Attributes या उस Object कȧ Properties कहते हɇ। ͩकसी Object के 
Attribute के मान मɅ पǐरवतन करने पर वह Object बदल जाता है। 
data:text/html;charset=utf­8,% 
3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 2/6
29/11/2014 OOPS Basic Concepts with Examples in Hindi 
उदाहरण के ͧलए ͩकसी Account Object कȧ एक Property, उसका Account 
Numberहो सकता है। अब यǑद ͩकसी Account के Account Number Property का 
मान Change ͩकया जाए, तो वह Account ͩकसी दूसरे Account Object को Refer करने 
लगता है। यानी Object के Attribute के मान मɅ यǑद पǐरवतन कर Ǒदया जाए तो Object 
बदल जाता है। 
Download किजए, इस Website पर उपल ध ͩकसी भी पु तक के 100 से  यादा 
Pages, Free 
िजस तरह से हर Object Uniquely Identify होने के ͧलए अपने कुछ Unique Attributes 
का योग करता है, उसी तरह से हर Object ͩकसी ना ͩकसी तरȣके से कोई ना कोई काम 
करता है। Object के इस काम करने कȧ वृǓत को Object का Behavior कहते हɇ। 
Objects – Based on Problem 
वाèतͪवक जीवन (Real World) मɅ हम ͩकसी भी समèया को िजस कार से देखते हɇ, उसी 
कार से हम उस समèया को Computer मɅ भी Represent कर सकते हɇ। समèया को 
Computer मɅ Logically तभी Represent ͩकया जा सकता है, जब समèया को ठȤक 
कार से समझा जाए और ये पता ͩकया जाए ͩक समèया के मुÉ य Objects कौन­कौन 
से 
हɇ। 
उदाहरण के ͧलए मान लȣिजए ͩक एक Company मɅ उसके सभी Employees के Bio – 
Data को Manual Register से Upgrade करके Computerized करना है। अब हमɅ सबसे 
पहले इस Real World समèया से सàबंͬधत सबसे मह×वपूण Object को Identify करना 
है। चूंͩक, ͪवͧभÛन Employees के Bio – Data को Computer पर Store करना है, 
इसͧलए इस समèया से सàबंͬधत जो सबसे मह×वपूण Object है, वह Employee हȣ है। 
Employee एक Physical Object है और इसे जब Computer मɅ Represent ͩकया 
जाएगा तो, Computer मɅ वह Employee Logical Object कहलाएगा। (OOPS Basic 
Concepts with Examples) 
Read other articles from: Java Programming Language in Hindi 
ये Article Java Programming Language in Hindi पु तक से ͧलया गया है। 
इसͧलए यǑद ये Article आपके ͧलए उपयोगी रहा, तो Ǔनिæचत प से ये पुèतक भी आपके 
ͧलए काफȧ उपयोगी साǒबत होगी। यǑद आप चाहɅ तो इस पुèतक को खरȣद भी सकते हɇ 
अथवा DEMO EBOOK के प मɅ इस पुèतक के कुछ CHAPTERS Download करके पढ 
सकते हɇ। 
Java Programming Language in Hindi | Page: 682 | Format: PDF 
BUY NOW DOWNLOAD 
My Shopping Cart 
Offer of The Day 
× Delete 
data:text/html;charset=utf­8,% 
3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 3/6
29/11/2014 OOPS Basic Concepts with Examples in Hindi 
Total Amount Rs. 1500.00 
Discount Amount Rs. 450.00 
Total Payable Amount Rs. 1050.00 
View Cart Checkout 
Click My Account 
सवथम Register करके Login कȧिजए। 
Click Buy Here 
Add to cart Button पर Click करते हुए वांǓछत पुè तकɅ अपने Shopping Cart मɅ Add कȧिजए। 
अͬधक पुè तकɅ खरȣदने पर ͧमलने वाला Extra Discount भी आपको My Shopping 
Cart Widget मɅ हȣ Ǒदखाई देगा। 
Click Checkout 
My Shopping Cart Widget मɅ Ǒदखाई देने वाले Checkout Button को Click कȧिजए। 
Fill Billing Detail  Payment Mode 
अपनी Billing Details Fill करते हुए CCAvenue, PayUMoney या Offline Payment Option 
Select करके Place order Button पर Click कȧिजए। 
Pay and Download 
Total Payable Amount का भुगतान कȧिजए और पुè तकɅ Download कȧिजए अपने EMail याMy 
Account से, तुरÛ त। 
Any Buying Problem? 
पुè तकɅ खरȣदने से सà बंͬधत ͩकसी भी कार कȧ समè या होने पर 097994­55505 
पर Call / 
SMSकȧिजए। 
Buying Related ­FAQ 
Why Softcopy PDF EBooks? The Benefits. 
How to Buy Online using CCAvenue 
How to Buy Online using PayUMoney 
How to Pay Offline using Bank Deposit, ATM Card to Card Transfer, AirTel Money, 
PayPal 
What is MasterCard 3D SecureCode, Verified by Visa (VbV) and RuPay PaySecure 
Code? 
Online Payment is Safe and Secure. How? 
What is Coupon Code  How to Use it? 
Why Learn Properly? 
È यɉ ठȤक से सीखना जरȣ है C? 
È यɉ ठȤक से सीखना जरȣ है C++? 
È यɉ ठȤक से सीखना जरȣ है Java? 
È यɉ ठȤक से सीखना जरȣ है C#.NET? 
data:text/html;charset=utf­8,% 
3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 4/6
29/11/2014 OOPS Basic Concepts with Examples in Hindi 
È यɉ ठȤक से सीखना जरȣ है ADO.NET with C#? 
È यɉ ठȤक से सीखना जरȣ है Core ASP.NET? 
È यɉ ठȤक से सीखना जरȣ है Advance ASP.NET? 
È यɉ ठȤक से सीखना जरȣ है Data Structure? 
È यɉ ठȤक से सीखना जरȣ है Oracle­SQL/ 
PLSQL? 
È यɉ ठȤक से सीखना जरȣ है Visual Basic? 
È यɉ ठȤक से सीखना जरȣ है HTML­XHTML? 
È यɉ ठȤक से सीखना जरȣ है HTML5 और CSS3? 
È यɉ ठȤक से सीखना जरȣ है JavaScript? 
È यɉ ठȤक से सीखना जरȣ है jQuery? 
È यɉ ठȤक से सीखना जरȣ है Core PHP? 
È यɉ ठȤक से सीखना जरȣ है WordPress? 
È यɉ ठȤक से सीखना जरȣ है Advance WordPress? 
Hindi EBooks : Read Online 
C Programming Language in Hindi 
C++ Programming Language in Hindi 
Java Programming Language in Hindi 
C# Programming Language in Hindi 
ADO.NET with C# in Hindi 
Core ASP.NET WebForms with C# in Hindi 
Data Structure and Algorithms in Hindi 
Oracle 8i­9i 
SQL/PLSQL in Hindi 
Visual Basic 6 in Hindi 
HTML­XHTML 
in Hindi 
HTML5 with CSS3 in Hindi 
Advance JavaScript in Hindi 
jQuery in Hindi 
Core PHP in Hindi 
WordPress in Hindi 
Advance WordPress in Hindi 
Search in BccFalna.com Search 
Useful Technical Articles 
Learn to Earn 
Motivation 
Programming and Development 
Uncategorized 
Web Development 
Rules and Regulations 
About Us 
Contact Us 
data:text/html;charset=utf­8,% 
3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 5/6
29/11/2014 OOPS Basic Concepts with Examples in Hindi 
Privacy Policy 
Terms and Conditions 
Product Type 
Refund Policy 
Pageviews: 
data:text/html;charset=utf­8,% 
3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 6/6

More Related Content

Viewers also liked

Computer netwoking notes & qustionspart 2
Computer netwoking notes & qustionspart 2Computer netwoking notes & qustionspart 2
Computer netwoking notes & qustionspart 2SirajRock
 
Photoshop hindi-notes
Photoshop hindi-notesPhotoshop hindi-notes
Photoshop hindi-notesSirajRock
 
Networking in hindi notes
Networking in hindi notesNetworking in hindi notes
Networking in hindi notesSirajRock
 
Excel shortcut and function keys hindi notes
Excel shortcut and function keys hindi notesExcel shortcut and function keys hindi notes
Excel shortcut and function keys hindi notesSirajRock
 
Internet notes hindi
Internet notes hindiInternet notes hindi
Internet notes hindiSirajRock
 
Introduction of Internet Hindi Notes
Introduction of Internet Hindi NotesIntroduction of Internet Hindi Notes
Introduction of Internet Hindi NotesSirajRock
 
Microsoft office hindi notes
Microsoft office hindi notesMicrosoft office hindi notes
Microsoft office hindi notesSirajRock
 
Corel draw 14 hindi notes
Corel draw 14 hindi notesCorel draw 14 hindi notes
Corel draw 14 hindi notesSirajRock
 
Computer fundamentals hindi notes
Computer fundamentals hindi notesComputer fundamentals hindi notes
Computer fundamentals hindi notesSirajRock
 

Viewers also liked (9)

Computer netwoking notes & qustionspart 2
Computer netwoking notes & qustionspart 2Computer netwoking notes & qustionspart 2
Computer netwoking notes & qustionspart 2
 
Photoshop hindi-notes
Photoshop hindi-notesPhotoshop hindi-notes
Photoshop hindi-notes
 
Networking in hindi notes
Networking in hindi notesNetworking in hindi notes
Networking in hindi notes
 
Excel shortcut and function keys hindi notes
Excel shortcut and function keys hindi notesExcel shortcut and function keys hindi notes
Excel shortcut and function keys hindi notes
 
Internet notes hindi
Internet notes hindiInternet notes hindi
Internet notes hindi
 
Introduction of Internet Hindi Notes
Introduction of Internet Hindi NotesIntroduction of Internet Hindi Notes
Introduction of Internet Hindi Notes
 
Microsoft office hindi notes
Microsoft office hindi notesMicrosoft office hindi notes
Microsoft office hindi notes
 
Corel draw 14 hindi notes
Corel draw 14 hindi notesCorel draw 14 hindi notes
Corel draw 14 hindi notes
 
Computer fundamentals hindi notes
Computer fundamentals hindi notesComputer fundamentals hindi notes
Computer fundamentals hindi notes
 

More from Chand Rook

process-for-procurement-of-power-
process-for-procurement-of-power-process-for-procurement-of-power-
process-for-procurement-of-power-Chand Rook
 
The inspection guideline
The inspection guidelineThe inspection guideline
The inspection guidelineChand Rook
 
Ado.ne twith csharpinhindi
Ado.ne twith csharpinhindiAdo.ne twith csharpinhindi
Ado.ne twith csharpinhindiChand Rook
 
Advance j sinhindi
Advance j sinhindiAdvance j sinhindi
Advance j sinhindiChand Rook
 
Advance w pinhindi
Advance w pinhindiAdvance w pinhindi
Advance w pinhindiChand Rook
 
Oracl ein hindi
Oracl ein hindiOracl ein hindi
Oracl ein hindiChand Rook
 
W pwith cinhindi
W pwith cinhindiW pwith cinhindi
W pwith cinhindiChand Rook
 
Disadvantages of asp.net...s less markup control
Disadvantages of asp.net...s   less markup controlDisadvantages of asp.net...s   less markup control
Disadvantages of asp.net...s less markup controlChand Rook
 
What is server controls in asp.net in hindi
What is server controls in asp.net   in hindiWhat is server controls in asp.net   in hindi
What is server controls in asp.net in hindiChand Rook
 
How asp.net web forms work learn easily in hindi
How asp.net web forms work  learn easily in hindiHow asp.net web forms work  learn easily in hindi
How asp.net web forms work learn easily in hindiChand Rook
 
Disadvantages of asp.net...s less markup control
Disadvantages of asp.net...s   less markup controlDisadvantages of asp.net...s   less markup control
Disadvantages of asp.net...s less markup controlChand Rook
 
What is asp.net web forms in hindi
What is asp.net web forms in hindiWhat is asp.net web forms in hindi
What is asp.net web forms in hindiChand Rook
 
How asp.net web forms work learn easily in hindi
How asp.net web forms work  learn easily in hindiHow asp.net web forms work  learn easily in hindi
How asp.net web forms work learn easily in hindiChand Rook
 
Asp.net postbacks lear...simple example in hindi
Asp.net postbacks   lear...simple example in hindiAsp.net postbacks   lear...simple example in hindi
Asp.net postbacks lear...simple example in hindiChand Rook
 

More from Chand Rook (20)

process-for-procurement-of-power-
process-for-procurement-of-power-process-for-procurement-of-power-
process-for-procurement-of-power-
 
Rbi banking
Rbi bankingRbi banking
Rbi banking
 
The inspection guideline
The inspection guidelineThe inspection guideline
The inspection guideline
 
Ado.ne twith csharpinhindi
Ado.ne twith csharpinhindiAdo.ne twith csharpinhindi
Ado.ne twith csharpinhindi
 
Advance j sinhindi
Advance j sinhindiAdvance j sinhindi
Advance j sinhindi
 
Advance w pinhindi
Advance w pinhindiAdvance w pinhindi
Advance w pinhindi
 
Cp pin hindi
Cp pin hindiCp pin hindi
Cp pin hindi
 
Oracl ein hindi
Oracl ein hindiOracl ein hindi
Oracl ein hindi
 
Vb6in hindi
Vb6in hindiVb6in hindi
Vb6in hindi
 
W pwith cinhindi
W pwith cinhindiW pwith cinhindi
W pwith cinhindi
 
Vb6in hindi
Vb6in hindiVb6in hindi
Vb6in hindi
 
W pin hindi
W pin hindiW pin hindi
W pin hindi
 
Ph pin hindi
Ph pin hindiPh pin hindi
Ph pin hindi
 
Disadvantages of asp.net...s less markup control
Disadvantages of asp.net...s   less markup controlDisadvantages of asp.net...s   less markup control
Disadvantages of asp.net...s less markup control
 
What is server controls in asp.net in hindi
What is server controls in asp.net   in hindiWhat is server controls in asp.net   in hindi
What is server controls in asp.net in hindi
 
How asp.net web forms work learn easily in hindi
How asp.net web forms work  learn easily in hindiHow asp.net web forms work  learn easily in hindi
How asp.net web forms work learn easily in hindi
 
Disadvantages of asp.net...s less markup control
Disadvantages of asp.net...s   less markup controlDisadvantages of asp.net...s   less markup control
Disadvantages of asp.net...s less markup control
 
What is asp.net web forms in hindi
What is asp.net web forms in hindiWhat is asp.net web forms in hindi
What is asp.net web forms in hindi
 
How asp.net web forms work learn easily in hindi
How asp.net web forms work  learn easily in hindiHow asp.net web forms work  learn easily in hindi
How asp.net web forms work learn easily in hindi
 
Asp.net postbacks lear...simple example in hindi
Asp.net postbacks   lear...simple example in hindiAsp.net postbacks   lear...simple example in hindi
Asp.net postbacks lear...simple example in hindi
 

बुनियादी अवधारणाओं examples के साथ हिंदी में

  • 1. 29/11/2014 OOPS Basic Concepts with Examples in Hindi OOPS का योग करते हुए ͩकसी Problem को Solve करने से सà बंͬधत Basic Concepts OOPS Basic Concepts with Examples: हम Computer पर जो भी Program बनाते हɇ वो Program ͩकसी ना ͩकसी Real Life Problem को Solve करने के ͧलए बनाते हɇ और हर Real World Problem मɅ Real World Objects होते हɇ। इस िèथǓत मɅ OOPS एक ऐसा Concept है िजसके आधार पर हम ͪवͧभÛन कार कȧ Real Life से Related Problems को Solve करने के ͧलए हमारȣ समèया से सàबंͬधत ͪवͧभÛन Real World के Physical Objects को Computer मɅ Logically Represent कर सकते हɇ और उस Real Life से सàबंͬधत समèया को Computer मɅ Logically भी उसी तरह से Solve कर सकते हɇ, िजस तरह से उस समèया को Real World मɅ Physically Solve करते हɇ। ͩकसी Problem को Solve करने का वह System या तरȣका िजसके आधार पर ͩकसी Real World Problem को Solve करने के ͧलए उस Real World Problem से सàबंͬधत Physical Objects को Computer मɅ Logically Represent करके Problem को Computer वारा Solve ͩकया जा सके, Object Oriented Programming System (OOPS) कहलाता है और िजस Computer Programming Language मɅ OOPS के Concepts को ठȤक तरह से Implement ͩकया जा सकता है, उस Programming Language को Object Oriented Programming Language (OOPL) कहा जाता है। जावा एक ऐसी हȣ Object Oriented Programming Language है, िजसमɅ ͩकसी Real World समèया से सàबंͬधत ͪवͧभÛन Real World Physical Objects को Computer मɅ Logically Represent करके समèया को उसी कार से Logically Solve ͩकया जा सकता है, िजस तरह से उस समèया को Real World मɅ Physically Solve ͩकया जाता है। Problem – The Definition दुǓनयां के हर काम को सàपÛन करने के ͧलए हमɅ एक ͪवशेष म का पालन करना पडता है और जब हम ͩकसी काम को ठȤक तरȣके से कर लेते हɇ, तो पǐरणाम èवप हमɅ कुछ ना कुछ उͬचत Output ाÜत होता है। ठȤक इसी तरȣके से Computer से भी ͩकसी काम को करवाने के ͧलए हमɅ उससे एक ͪवशेष म का पालन करवाना पडता है और जब Computer हमारे बताए गए ͩकसी म के अनुसार काम कर लेता है, तो हमɅ कुछ ना कुछ उͬचत पǐरणाम भी ाÜत होता है। Download किजए, इस Website पर उपल ध ͩकसी भी पु तक के 100 से यादा Pages, Free िजस ͩकसी भी काम को करने के ͧलए हमɅ ͩकसी ͪवशेष म का पालन करना पडता है, उस काम को हम एक Problem कह सकते हɇ। इस िèथǓत मɅ हर काम एक कार कȧ समèया होती है Èयɉͩक दुǓनयां के ͩकसी भी छोटे से छोटे काम को सàपÛन करने के ͧलए भी हमɅ ͩकसी ना ͩकसी म का पालन तो करना हȣ पडता है। एक उदाहरण से समझɅ तो यǑद हमɅ पानी पीना हो तो भी हमɅ एक Ǔनिæचत म का पालन करना पडता है। पानी पीने के ͧलए भी हमɅ: data:text/html;charset=utf­8,% 3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 1/6
  • 2. 29/11/2014 OOPS Basic Concepts with Examples in Hindi सबसे पहले ͬगलास लेना पडेगा। [ Variable Declaration ] ͬगलास मɅ पानी लेना पडेगा। [ Input ] ͩफर उस पानी को मुंह तक लाना पडेगा [ Process ] पानी मुंह मɅ जाएगा और तृिÜत का अहसास होगा। [ Output ] यानी पानी पीने के ͧलए भी हमɅ एक Ǔनिæचत म का पालन करना पड रहा है, इसͧलए पानी पीने को भी हम एक कार कȧ समèया के प मɅ देख सकते हɇ। Data – Value OR a Set of Values मूल प से देखा जाए तो Computer के ͧलए ͩकसी भी कार का मान या मानɉ का समूह Data कहलाता है। Computer मɅ हम ͩकसी भी मान को मुÉ यतः तीन कार से Specify कर सकते हɇ। Download किजए, इस Website पर उपल ध ͩकसी भी पु तक के 100 से यादा Pages, Free Integer जब हमɅ Computer मɅ ͩकसी ऐसे मान को Store करना होता है, िजसमɅ केवल पूण संÉ याएं हȣ होती हɇ, तब उस Value को Integer कार कȧ Value कहा जाता है। Float जब हमɅ Computer मɅ ͩकसी ऐसे मान को Store करना होता है िजसमɅ दसमलव वालȣ संÉ या होती है, तब उस Value को Float कार कȧ Value कहा जाता है। Character जब हमɅ Computer मɅ केवल Characters Store करने होते हɇ, तब इस कार के मान को Character कार का मान कहते हɇ। Object – The Definition दुǓनयां कȧ हर उस चीज को Object कह सकते हɇ, िजसे Physically देखा जा सके या Logically ͩकसी Ǒदखाई देने वालȣ चीज के Reference मɅ महसूस ͩकया जा सके। जैसाͩक हमने कहा ͩक Object को देखा जा सकता है, इसका मतलब ये हुआ ͩक हर वह चीज िजसका कोई रंग, प व आकार हो वह Object है। जैसे ͩक Keyboard, Employee, Client आǑद। इसी कार से हर वह चीज िजसे ͩकसी Ǒदखाई देने वालȣ चीज के Reference मɅ महसूस ͩकया जा सके, Object है। जैसे Bank Account. हर Object कȧ कुछ ͪवशेषताएं होती हɇ, िजसकȧ वजह से कोई एक Object ͩकसी दूसरे Object से अलग पहचाना जाता है। ͩकसी भी Object कȧ इन ͪवशेषताओं को हम उस Object के Attributes या उस Object कȧ Properties कहते हɇ। ͩकसी Object के Attribute के मान मɅ पǐरवतन करने पर वह Object बदल जाता है। data:text/html;charset=utf­8,% 3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 2/6
  • 3. 29/11/2014 OOPS Basic Concepts with Examples in Hindi उदाहरण के ͧलए ͩकसी Account Object कȧ एक Property, उसका Account Numberहो सकता है। अब यǑद ͩकसी Account के Account Number Property का मान Change ͩकया जाए, तो वह Account ͩकसी दूसरे Account Object को Refer करने लगता है। यानी Object के Attribute के मान मɅ यǑद पǐरवतन कर Ǒदया जाए तो Object बदल जाता है। Download किजए, इस Website पर उपल ध ͩकसी भी पु तक के 100 से यादा Pages, Free िजस तरह से हर Object Uniquely Identify होने के ͧलए अपने कुछ Unique Attributes का योग करता है, उसी तरह से हर Object ͩकसी ना ͩकसी तरȣके से कोई ना कोई काम करता है। Object के इस काम करने कȧ वृǓत को Object का Behavior कहते हɇ। Objects – Based on Problem वाèतͪवक जीवन (Real World) मɅ हम ͩकसी भी समèया को िजस कार से देखते हɇ, उसी कार से हम उस समèया को Computer मɅ भी Represent कर सकते हɇ। समèया को Computer मɅ Logically तभी Represent ͩकया जा सकता है, जब समèया को ठȤक कार से समझा जाए और ये पता ͩकया जाए ͩक समèया के मुÉ य Objects कौन­कौन से हɇ। उदाहरण के ͧलए मान लȣिजए ͩक एक Company मɅ उसके सभी Employees के Bio – Data को Manual Register से Upgrade करके Computerized करना है। अब हमɅ सबसे पहले इस Real World समèया से सàबंͬधत सबसे मह×वपूण Object को Identify करना है। चूंͩक, ͪवͧभÛन Employees के Bio – Data को Computer पर Store करना है, इसͧलए इस समèया से सàबंͬधत जो सबसे मह×वपूण Object है, वह Employee हȣ है। Employee एक Physical Object है और इसे जब Computer मɅ Represent ͩकया जाएगा तो, Computer मɅ वह Employee Logical Object कहलाएगा। (OOPS Basic Concepts with Examples) Read other articles from: Java Programming Language in Hindi ये Article Java Programming Language in Hindi पु तक से ͧलया गया है। इसͧलए यǑद ये Article आपके ͧलए उपयोगी रहा, तो Ǔनिæचत प से ये पुèतक भी आपके ͧलए काफȧ उपयोगी साǒबत होगी। यǑद आप चाहɅ तो इस पुèतक को खरȣद भी सकते हɇ अथवा DEMO EBOOK के प मɅ इस पुèतक के कुछ CHAPTERS Download करके पढ सकते हɇ। Java Programming Language in Hindi | Page: 682 | Format: PDF BUY NOW DOWNLOAD My Shopping Cart Offer of The Day × Delete data:text/html;charset=utf­8,% 3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 3/6
  • 4. 29/11/2014 OOPS Basic Concepts with Examples in Hindi Total Amount Rs. 1500.00 Discount Amount Rs. 450.00 Total Payable Amount Rs. 1050.00 View Cart Checkout Click My Account सवथम Register करके Login कȧिजए। Click Buy Here Add to cart Button पर Click करते हुए वांǓछत पुè तकɅ अपने Shopping Cart मɅ Add कȧिजए। अͬधक पुè तकɅ खरȣदने पर ͧमलने वाला Extra Discount भी आपको My Shopping Cart Widget मɅ हȣ Ǒदखाई देगा। Click Checkout My Shopping Cart Widget मɅ Ǒदखाई देने वाले Checkout Button को Click कȧिजए। Fill Billing Detail Payment Mode अपनी Billing Details Fill करते हुए CCAvenue, PayUMoney या Offline Payment Option Select करके Place order Button पर Click कȧिजए। Pay and Download Total Payable Amount का भुगतान कȧिजए और पुè तकɅ Download कȧिजए अपने EMail याMy Account से, तुरÛ त। Any Buying Problem? पुè तकɅ खरȣदने से सà बंͬधत ͩकसी भी कार कȧ समè या होने पर 097994­55505 पर Call / SMSकȧिजए। Buying Related ­FAQ Why Softcopy PDF EBooks? The Benefits. How to Buy Online using CCAvenue How to Buy Online using PayUMoney How to Pay Offline using Bank Deposit, ATM Card to Card Transfer, AirTel Money, PayPal What is MasterCard 3D SecureCode, Verified by Visa (VbV) and RuPay PaySecure Code? Online Payment is Safe and Secure. How? What is Coupon Code How to Use it? Why Learn Properly? È यɉ ठȤक से सीखना जरȣ है C? È यɉ ठȤक से सीखना जरȣ है C++? È यɉ ठȤक से सीखना जरȣ है Java? È यɉ ठȤक से सीखना जरȣ है C#.NET? data:text/html;charset=utf­8,% 3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 4/6
  • 5. 29/11/2014 OOPS Basic Concepts with Examples in Hindi È यɉ ठȤक से सीखना जरȣ है ADO.NET with C#? È यɉ ठȤक से सीखना जरȣ है Core ASP.NET? È यɉ ठȤक से सीखना जरȣ है Advance ASP.NET? È यɉ ठȤक से सीखना जरȣ है Data Structure? È यɉ ठȤक से सीखना जरȣ है Oracle­SQL/ PLSQL? È यɉ ठȤक से सीखना जरȣ है Visual Basic? È यɉ ठȤक से सीखना जरȣ है HTML­XHTML? È यɉ ठȤक से सीखना जरȣ है HTML5 और CSS3? È यɉ ठȤक से सीखना जरȣ है JavaScript? È यɉ ठȤक से सीखना जरȣ है jQuery? È यɉ ठȤक से सीखना जरȣ है Core PHP? È यɉ ठȤक से सीखना जरȣ है WordPress? È यɉ ठȤक से सीखना जरȣ है Advance WordPress? Hindi EBooks : Read Online C Programming Language in Hindi C++ Programming Language in Hindi Java Programming Language in Hindi C# Programming Language in Hindi ADO.NET with C# in Hindi Core ASP.NET WebForms with C# in Hindi Data Structure and Algorithms in Hindi Oracle 8i­9i SQL/PLSQL in Hindi Visual Basic 6 in Hindi HTML­XHTML in Hindi HTML5 with CSS3 in Hindi Advance JavaScript in Hindi jQuery in Hindi Core PHP in Hindi WordPress in Hindi Advance WordPress in Hindi Search in BccFalna.com Search Useful Technical Articles Learn to Earn Motivation Programming and Development Uncategorized Web Development Rules and Regulations About Us Contact Us data:text/html;charset=utf­8,% 3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 5/6
  • 6. 29/11/2014 OOPS Basic Concepts with Examples in Hindi Privacy Policy Terms and Conditions Product Type Refund Policy Pageviews: data:text/html;charset=utf­8,% 3Cdiv%20id%3D%22wrap%22%20style%3D%22margin%3A%200px%20auto%3B%20width%3A%20522px%3B%20color… 6/6