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 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 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. 1To obtain the value present in
attribute of applet tag use file function
 A)getValue()
 B)getParameter()
 C)getTex()
 D)getAttribute()
   
Q. 2Which of these is not a valid font style
constant?
 A)BOLD
 B)ITALIC
 C)PLAIN
 D)UNDERLINE
   
Q. 3When 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. 4Which exception is thrown by read() method
of InputStream class?
 A)ReadExccption
 B)FileNotFoundException
 C)IOException
 D)All of the above
   
Q. 5Which of the following is not a legal Java
identifier?
 A)Num 123
 B)%/rate
 C)$amount
 D)_a_long_variable
   
Q. 6How many constructors can be placed in a
class?
 A)Any number of
 B)One
 C)Two
 D)None of these
   
Q. 7The default layout manager for an applet is
 A)GridLayout
 B)BorderLayout
 C)FlowLayout
 D)CardLayout
   
Q. 8Which 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. 9The set Background() method is part of the
class
 A)Graphics
 B)Applet
 C)Component
 D)Object
   
Q. 10We would like to make a member of a class
visible in all subclasses regardless of what
package they are in. Which one of the following
keywords would achieve this?
 A)private
 B)protected
 C)private protected
 D)public
   
Click here to get Java Programming (BC0047) New Question


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