P2Pprogrammer 2 programmer

Home > Download > SMU - Question Paper > MSc IT > MT0045

JAVA


This is the collection of Sikkim Manipal University (SMU) question and answers for 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 2024, 2023, 2022 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 JAVA, SMU - Master of Science in Information Technology.

Course Name        MSc IT (Master of Science in Information Technology)

Subject Code       MT0045 (JAVA)

Get Questions        PART - A    PART - B    PART - C

Subject : JAVA

     MT0045 : PART - A    


Q. 1Adapter class gives null definition to
methods in respective
 A)interface
 B)class
 C)Both A) and B)
 D)Neither A) nor B)
   
Q. 2Which of the following is not a legal Java
identifier?
 A)Num 123
 B)%/rate
 C)$amount
 D)_a_long_variable
   
Q. 3With javadoc, which of the following denotes
a documentation comment?
 A)//# write text here */
 B)//**write text here*/
 C)/**write text here*/
 D)/* write text here */
   
Q. 4The first method to be called when an
applet begins execution is
 A)start()
 B)init()
 C)paint()
 D)run()
   
Q. 5Exception thrown when a number is divided
by zero is
 A)DivisionByZcroExccption
 B)ArithmeticException
 C)Infinity Exception
 D)NumberFormatException
   
Q. 6Which of the following statements about
ActionEvent events is wrong?
 A)There is only one method in ActionListener that takes an actionEvent
 B)When you are entering text into a TextField, typing the Enter key causes an ActionEvent
 C)ScrollBar objects do not generate ActionEvent
 D)When you are in application, clicking the window close button causes an ActionEvent
   
Q. 7Which exception is thrown by read() method
of InputStream class?
 A)ReadExccption
 B)FileNotFoundException
 C)IOException
 D)All of the above
   
Q. 8Which of these is not a valid font style
constant?
 A)BOLD
 B)ITALIC
 C)PLAIN
 D)UNDERLINE
   
Q. 9The set Background() method is part of the
class
 A)Graphics
 B)Applet
 C)Component
 D)Object
   
Q. 10The concept of multiple inheritances is
implemented in Java by
 A)Extending two or more classes
 B)Extending one class and implementing one or more interfaces
 C)Implementing one interface and extending one or more classes
 D)All the above
   
Click here to get JAVA (MT0045) New Question


Home > Download > SMU - Question Paper > MSc IT > MT0045