Technical Questions asked in Snapdeal

  1. Which of the following is not supported by Java?
    1. Method overloading
    2. Multiple inheritances for classes
    3. None of these
    4. Both (a) and (b)
    Answer:  Option B.
  2. Which of the following is the memory management supported in C++?
    1. Static storage duration objects
    2. Automatic storage duration objects
    3. Thread storage duration objects
    4. All of these
    Answer: Option  D.
  1. What is the output of the following code fragment?
    int x= 4;
    cout<< n++;
    cout << n;
    1. 55
    2. 44
    3. 45
    4. none of these
    Answer: Option  C.
  2. Which of the following class access protected and private members of other class?
    1. Friend class
    2. Virtual class
    3. Main class
    4. none of these
    Answer: Option  A.
    There is more coupling between classes.
  3. What do we return if we use simple array on an internal container?
    1. Methods
    2. Pointers
    3. Objects
    4. None of the mentioned
    Answer: Option  B.
  4. Which is used to keep the call by reference value as unharmed?
    1. static
    2. const
    3. absolute
    4. none of the mentioned
    Answer: Option B
Test Site