Computer Science · Java Programming
जावा (Java) के संदर्भ में गार्बेज कलेक्शन (Garbage Collection) क्या है?
- 1जब किसी ऑब्जेक्ट के सभी संदर्भ (references) समाप्त हो जाते हैं, तो ऑब्जेक्ट द्वारा उपयोग की जाने वाली मेमोरी को स्वचालित रूप से पुनः प्राप्त (reclaim) कर लिया जाता है।✓
- 2JVM किसी भी जावा प्रोग्राम के आउटपुट की जांच करता है और ऐसी किसी भी चीज़ को हटा देता है जिसका कोई मतलब नहीं है।
- 3प्रोग्राम में इम्पोर्ट किया गया और उपयोग न किया गया कोई भी पैकेज स्वचालित रूप से हटा दिया जाता है।
- 4ऑपरेटिंग सिस्टम समय-समय पर सिस्टम पर उपलब्ध सभी जावा फाइलों को हटा देता है।
सही उत्तर देखें
जब किसी ऑब्जेक्ट के सभी संदर्भ (references) समाप्त हो जाते हैं, तो ऑब्जेक्ट द्वारा उपयोग की जाने वाली मेमोरी को स्वचालित रूप से पुनः प्राप्त (reclaim) कर लिया जाता है।
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Java Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Java Programming