Objects and Classes November 27, 2020December 21, 2020wefru Java Programming , Objects and Classes quiz 10 Created on November 27, 2020 By wefru Objects and Classes TEST YOUR SKILLS 1 / 10 If a class contains static variable, then every object of the class has its copy of static variable. True False 2 / 10 Which one is not valid identifier rdd2 x(5) _DATE_ A30 3 / 10 To perfor file input / output operation in C++, we must include which header file ? <fiostream> <ifstream> <ofstream> <fstream> 4 / 10 An exceptio in C++ can be generated using which keywords. thrown threw throw throws 5 / 10 Pick up the valid declaration for overloading ++ in postfix form where T is the class name. T operator++(); T& operator++(int); T& operator++(); T& operator++(int) 6 / 10 Which operator is used to resolve the scope of the global variable? -> - :: * 7 / 10 A structure defines a ____________type. class pointer array variables 8 / 10 A _____________is an instance of class object Code variable pointer 9 / 10 What is the output of the following program?#include <iostream>using namespace std; int main () { // local variable declaration: int x = 1; switch(x) { case 1 : cout << "Hi!" << endl; break; default : cout << "Hello!" << endl; }} Hi Hello HelloHi Compile error 10 / 10 ______________is a stream connected to standard output. cin gets out count Your score isThe average score is 45% LinkedIn Facebook VKontakte 0% Restart quiz