Back-End Programming Exam  >  Back-End Programming Videos  >  Java Programming Fundamentals: For Beginners (in Hindi)  >  Lecture 69 Collections and Arrays in Java Part 2 of 2 Hindi

Lecture 69 Collections and Arrays in Java Part 2 of 2 Hindi Video Lecture | Java Programming Fundamentals: For Beginners (in Hindi) - Back-End Programming

FAQs on Lecture 69 Collections and Arrays in Java Part 2 of 2 Hindi Video Lecture - Java Programming Fundamentals: For Beginners (in Hindi) - Back-End Programming

1. Collections और Arrays क्या हैं और इनके बीच क्या अंतर है?
Ans. Collections और Arrays दोनों Java में डेटा को संग्रहीत करने के लिए उपयोग होने वाले डेटा संरचनाओं हैं। Arrays एक फिक्स्ड साइज की संरचना होती है, जबकि Collections एक डाइनेमिक साइज की संरचना होती है।
2. Collection Framework क्या है और इसके क्या फायदे हैं?
Ans. Collection Framework एक pre-defined class library है जो Java में उपयोग होने वाले डेटा संरचनाओं का समूह है। इसके फायदे हैं: - इसके उपयोग से डेटा को संग्रहीत, प्रबंधित और प्रोसेस किया जा सकता है। - यह डेटा को सोर्ट, फिल्टर और खोजने के लिए अनेक मेथड्स प्रदान करता है। - इसके उपयोग से प्रोग्राम को मोड्यूलर और रियुजेबल बनाया जा सकता है।
3. ArrayList और LinkedList में क्या अंतर है?
Ans. इसका सबसे बड़ा अंतर यह है कि ArrayList एक डाइनेमिक साइज की संरचना होती है जबकि LinkedList एक डब्लिंग साइज की संरचना होती है। ArrayList में डेटा को एक सन्दर्भ में रखा जाता है और LinkedList में एक नोड के माध्यम से रखा जाता है।
4. Iterator और ListIterator में क्या अंतर है?
Ans. Iterator और ListIterator दोनों Collection Framework में इंटरफेस हैं जो दिए गए डेटा संरचनाओं के लिए इस्तेमाल होते हैं। इनका अंतर यह है कि ListIterator एक्सेस और मॉडिफाई करने के लिए उपयोग किया जा सकता है, जबकि Iterator केवल एक्सेस करने के लिए उपयोग किया जा सकता है।
5. Arrays के लिए डायनामिक साइज की संरचना कैसे बनायी जा सकती है?
Ans. Arrays को डायनामिक साइज की संरचना देने के लिए हम ArrayList का उपयोग कर सकते हैं। ArrayList अंदरूनी रूप से एक Array का उपयोग करता है जिसे बदलने की क्षमता होती है। इसलिए, जब हमें एक डायनामिक साइज की संरचना की जरूरत होती है तो हम ArrayList का उपयोग कर सकते हैं।

Up next

Explore Courses for Back-End Programming exam
Related Searches

Previous Year Questions with Solutions

,

Objective type Questions

,

Semester Notes

,

Viva Questions

,

Important questions

,

ppt

,

past year papers

,

shortcuts and tricks

,

Extra Questions

,

Free

,

mock tests for examination

,

MCQs

,

Exam

,

Sample Paper

,

study material

,

practice quizzes

,

Lecture 69 Collections and Arrays in Java Part 2 of 2 Hindi Video Lecture | Java Programming Fundamentals: For Beginners (in Hindi) - Back-End Programming

,

Summary

,

Lecture 69 Collections and Arrays in Java Part 2 of 2 Hindi Video Lecture | Java Programming Fundamentals: For Beginners (in Hindi) - Back-End Programming

,

pdf

,

Lecture 69 Collections and Arrays in Java Part 2 of 2 Hindi Video Lecture | Java Programming Fundamentals: For Beginners (in Hindi) - Back-End Programming

,

video lectures

;