P2Pprogrammer 2 programmer

Home > Download > SMU - Question Paper > BSc IT > BT0074

OOPS with Java


This is the collection of Sikkim Manipal University (SMU) question and answers for OOPS with Java . It will help to prepare your examination. All question paper are classified as per semester, subject code and question type of Part A, Part B and Part C with multiple choice options as same as actual examination. SMU question papers includes year 2025, 2024, 2023 Sem I, II, III, IV, V, VI examinations of all subjects.

SMU question test set of old, last and previous year are updated regularly and it is absolutely free to use. Question paper includes Visual basic 6, VB.Net, C#, ASP.Net, Web, Oracle, Database, SQL, Software Engineering, C, C++, OOPS, MBA, MCA, BSC IT I have requested you kindly send me the question paper of OOPS with Java , SMU - Bachelor of Science in Information Technology.

Course Name        BSc IT (Bachelor of Science in Information Technology)

Subject Code       BT0074 (OOPS with Java )

Get Questions        PART - A    PART - B    PART - C

Subject : OOPS with Java

     BT0074 : PART - C    


Q. 1Class ABC
{
private:
public:
}
int main()
{
ABC a;
Cout<<’The size of class ABC is” <}
The output of the above program will be
 A)The size of class ABC is 0
 B)The size of class ABC is 1
 C)The size of class ABC is 100
 D)Indeterminate
   
Q. 2Which of the following statements is true
about friend functions?
i) Friend functions cannot use member names
directly; it has to use an object to access any
member of the class
ii) Friend functions can have objects as
arguments
 A)i) and iii)
 B)ii) and iv)
 C)ii) and iii)
 D)All of i) to iv)
   
Q. 3Which of the following would be a valid
class declaration header for a derived class m,
with base classes n and o
1)class m: n, o
2) class m: class n, class o
3) class m: public n, public o
4) class m: public n, o
 A)All of the above
 B)1), 3), 4)
 C)2), 3), 4)
 D)3), 4)
   
Q. 4What is the correct sequence of exception
handling?
1) Controls enters the try block
2) The member function throws an exception
3) Control transfers to the exception handler
following the try block
4) Code is executing normally out
 A)3), 1), 2), 4), 5)
 B)1), 2), 3), 4), 5)
 C)5), 3), 1), 4), 2)
 D)4), 1), 5), 2), 3)
   
Q. 5Select one of the following functions to
replace the comment 4,1/here" so that the
display of Base class is overridden to give
output after execution as b =1
class Base int i;
public: Base i=5;
void display ( ) ~ cout <<"i = "<< i;
 A)void display ( ) 1 cout << -b="<< + + b ; )
 B)display ( ) b = - cout << b = "<< b; return b;)
 C)void display cout << "b= << b + +
 D)None of these
   
Click here to get OOPS with Java (BT0074 ) New Question


Home > Download > SMU - Question Paper > BSc IT > BT0074