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 - B
Q. 1 | The output of the following code if input is 32767 #include void main() { int union; cout<<”Enter the integer”; cin>union; cout>> “The next number in the series is”<< **union; } |
| A) | 23768 |
| B) | Run time error | | C) | Compilation error | | D) | 32767 | | | | Q. 2 | What does the following code represent? Class A {}; class B {A a;} |
| A) | Inheritance |
| B) | Derived class | | C) | Containership | | D) | Polymorphism | | | | Q. 3 | What is the result in the variable len after execution of the following statements? int len; char strl[] = {“39 March Road”}; len=strlen( strl); |
| A) | 11 |
| B) | 12 | | C) | 13 | | D) | 14 | | | | Q. 4 | The base class of flow of data is 1. iostream 2. ios 3. istream 4. Ostream |
| A) | Only 1 and 2 |
| B) | Only 2 | | C) | Only 2, 3 and 4 | | D) | Only 1 | | | | Q. 5 | Which of these is not a correct way to initialize arrays in C++? |
| A) | char n(5); For (int i=1; i<=5; i++) Cin >>
n[i]; |
| B) | char name [5] = "0011"; | | C) | static int n[2] [31 = 1 1 2, 4, 1 1, 2, 3 | | D) | None of the above | | | |
Click here to get
OOPS with Java (BT0074 )
New Question
Home > Download > SMU - Question Paper
> BSc IT > BT0074