Tag: programming languages
Questions Related to programming languages
-
10,10,garbage,garbage
-
error
-
error because of ambiguty
-
garbage,10,10,garbage
-
To access derived class objects using base class pointer.
-
To access base class objects using derived class pointer.
-
To avoid ambiguity in inheritance.
-
To create array of objects.
-
catch (float)
-
catch (...)
-
catch (int)
-
catch (long)
-
Depending upon data members only
-
Depending upon constructors, destructors, data members, member functions only.
-
Depending upon data members and non static member functions only.
-
Depending upon data members and non static member functions, constructors and destructors only.
-
None of these
-
42
-
Compilation Error - Incompatible Type
-
Runtime Error - Java.lang.ClassCastException
-
None of above
-
3.14
-
Compile time error
-
Run time error
-
None of above
-
first >> second >>
-
first >>
-
Compile time Error
-
Runtime Error -- ConcurrentModificationException
-
a=4; b=2;
-
a=2; b=4;
-
a=0; b=2; *
-
Run time error
-
Compile time error at line 3
-
Compile time error at line 4
-
5.22
-
None of above