प्रश्न और उत्तर का अभ्यास करें

प्र: The Minimum Alternative Tax (MAT) was introduced in the Budget of the Government of India for the year 1660 0

  • 1
    1991-92
    सही
    गलत
  • 2
    1992-93
    सही
    गलत
  • 3
    1995-96
    सही
    गलत
  • 4
    1996-97
    सही
    गलत
  • उत्तर देखेंउत्तर छिपाएं
  • Workspace

उत्तर : 4. "1996-97"
व्याख्या :

Answer: D) 1996-97 Explanation:

प्र: One of the problems in finding out National Income in India is 1737 0

  • 1
    Non-monetary consumption
    सही
    गलत
  • 2
    Tax evasion
    सही
    गलत
  • 3
    Inflation
    सही
    गलत
  • 4
    Conspicuous consumption
    सही
    गलत
  • उत्तर देखेंउत्तर छिपाएं
  • Workspace

उत्तर : 1. "Non-monetary consumption"
व्याख्या :

Answer: A) Non-monetary consumption Explanation:

प्र: India nationalised 14 major commercial banks in 1969 with deposits not less than 3214 0

  • 1
    Rs. 10 crore each
    सही
    गलत
  • 2
    Rs. 25 crore each
    सही
    गलत
  • 3
    Rs. 50 crore each
    सही
    गलत
  • 4
    Rs. 100 crore each
    सही
    गलत
  • उत्तर देखेंउत्तर छिपाएं
  • Workspace

उत्तर : 3. "Rs. 50 crore each"
व्याख्या :

Answer: C) Rs. 50 crore each Explanation:

प्र: When should I use abstract classes and when should I use interfaces? 1663 0

  • उत्तर देखेंउत्तर छिपाएं
  • Workspace

उत्तर :
व्याख्या :

Use Interfaces when… - You see that something in your design will change frequently. - If various implementations only share method signatures then it is better to use Interfaces. - You need some classes to use some methods which you don't want to be included in the class, then you go for the interface, which makes it easy to just implement and make use of the methods defined in the interface.   Use Abstract Class when… - If various implementations are of the same kind and use common behavior or status then abstract class is better to use. - When you want to provide a generalized form of abstraction and leave the implementation task with the inheriting subclass. - Abstract classes are an excellent way to create planned inheritance hierarchies. They're also a good choice for nonleaf classes in class hierarchies.

प्र: How are this() and super() used with constructors? 1314 0

  • उत्तर देखेंउत्तर छिपाएं
  • Workspace

उत्तर :
व्याख्या :

Constructors use this to refer to another constructor in the same class with a different parameter list. Constructors use super to invoke the superclass's constructor. If a constructor uses super, it must use it in the first line; otherwise, the compiler will complain.

प्र: How do you traverse through a collection using its Iterator? 1091 0

  • उत्तर देखेंउत्तर छिपाएं
  • Workspace

उत्तर :
व्याख्या :

To use an iterator to traverse through the contents of a collection, follow these steps: - Obtain an iterator to the start of the collection by calling the collections iterator() method. - Set up a loop that makes a call to hasNext(). Have the loop iterate as long as hasNext() returns true. - Within the loop, obtain each element by calling next().

प्र: How do you decide when to use HashMap and when to use TreeMap ? 1127 0

  • उत्तर देखेंउत्तर छिपाएं
  • Workspace

उत्तर :
व्याख्या :

For inserting, deleting, and locating elements in a Map, the HashMap offers the best alternative. If, however, you need to traverse the keys in a sorted order, then TreeMap is your better alternative. Depending upon the size of your collection, it may be faster to add elements to a HashMap, then convert the map to a TreeMap for sorted key traversal.

प्र: How do you decide when to use ArrayList and When to use LinkedList? 1630 0

  • उत्तर देखेंउत्तर छिपाएं
  • Workspace

उत्तर :
व्याख्या :

If you need to support random access, without inserting or removing elements from any place other than the end, then ArrayList offers the optimal collection. If, however, you need to frequently add and remove elements from the middle of the list and only access the list elements sequentially, then LinkedList offers the better implementation.

      त्रुटि की रिपोर्ट करें

    कृपया संदेश दर्ज करें
    त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई

      त्रुटि की रिपोर्ट करें

    कृपया संदेश दर्ज करें
    त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई

      त्रुटि की रिपोर्ट करें

    कृपया संदेश दर्ज करें
    त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई

      त्रुटि की रिपोर्ट करें

    कृपया संदेश दर्ज करें
    त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई

      त्रुटि की रिपोर्ट करें

    कृपया संदेश दर्ज करें
    त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई

      त्रुटि की रिपोर्ट करें

    कृपया संदेश दर्ज करें
    त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई

      त्रुटि की रिपोर्ट करें

    कृपया संदेश दर्ज करें
    त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई

      त्रुटि की रिपोर्ट करें

    कृपया संदेश दर्ज करें
    त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई