P2Pprogrammer 2 programmer

Home > Download > SMU - Question Paper > BCA > BC0047

Java Programming


This is the collection of Sikkim Manipal University (SMU) question and answers for Java Programming. 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 2022, 2021, 2020 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 Programming, SMU - Bachelor of Computer Application.

Course Name        BCA (Bachelor of Computer Application)

Subject Code       BC0047 (Java Programming)

Get Questions        PART - A    PART - B    PART - C

Subject : Java Programming

     BC0047 : PART - A    


Q. 1Exception thrown when a number is divided
by zero is
 A)DivisionByZcroExccption
 B)ArithmeticException
 C)Infinity Exception
 D)NumberFormatException
   
Q. 2Which exception is thrown by read() method
of InputStream class?
 A)ReadExccption
 B)FileNotFoundException
 C)IOException
 D)All of the above
   
Q. 3The default layout manager for an applet is
 A)GridLayout
 B)BorderLayout
 C)FlowLayout
 D)CardLayout
   
Q. 4The 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
   
Q. 5Which of the following cannot be used to
draw the Outline Of a square?
 A)drawLine()
 B)drawRect()
 C)drawPolygon()
 D)fillRect()
   
Q. 6The first method to be called when an
applet begins execution is
 A)start()
 B)init()
 C)paint()
 D)run()
   
Q. 7To obtain the value present in
attribute of applet tag use file function
 A)getValue()
 B)getParameter()
 C)getTex()
 D)getAttribute()
   
Q. 8When programming a local inner class
inside a method code block, which of the
following statements is true?
 A)The inner class will have access only to static variables in the enclosing class
 B)The inner class can use any variables declared in the method
 C)The inner class can use only local variables that are declared final
 D)The inner class can use only local variables that are declared static
   
Q. 9Which of the following defines a legal
abstract class?
 A)class Distance {abstract void display();}
 B)abstract class Distance {abstract void display();}
 C)abstract Distance {abstract void display();}
 D)class abstract Distance {abstract void display(();}
   
Q. 10It is an error to catch the same type of
exception in two different catch blocks
associated with a particular try block.
 A)TRUE
 B)FALSE
 C)It depends
 D)Can't say
   
Click here to get Java Programming (BC0047) New Question


Home > Download > SMU - Question Paper > BCA > BC0047