Solapur University MCA (Semester-III) Paper on Java Programming March 2019
| Sr. No. | Question |
| 1 | Java source code is compiled into ______
(a) .Exe (b) .Obj (c) Byte code (d) Dynamic Library |
| 2 | A subclass can all a constructor method defined by its super class by use of the keyword
(a) Static (b) Super (c) Base (d) Construct |
| 3 | When does method overriding is determined?
(a) At run time (b) At compile time (c) At coding time (d) At load time |
| 4 | _________ are small java programs developed for internet applications.
(a) Applet (b) AWT (c) Both (a) & (b) (d) None of these |
| 5 | _______ is the default package of Java.
(a) Java.lang (b) Java.io (c) Java.awt (d) All of these |
| 6 | Thread priority in Java is _______
(a) Integer (b) Float (c) Double (d) Long |
| 7 | An interface can extend another interface.
(a) True (b) False |
| 8 | _______ is a super class of predefined and user-defined classes.
(a) String (b) Object (c) StringBuilder (d) None of these |
| 9 | _________is a default layout in a AWT
(a) Border layout (b) Grid layout (c) Flow layout (d) Button layout |
| 10 | The prepare Call() method executes a simple query and returns a single Result Set object.
(a) True (b) False |
| 11 | ______ method is used to execute the DML queries.
(a) Execute (b) Execute update (c) Execute query (d) Execute batch |
| 12 | Which of the following is NOT the thread class method?
(a) Start() (b) Run() (c) Wait() (d) Terminate() |
| 13 | _____ method is used to destroy the objects created by the constructor.
(a) Final() (b) Destroy() (c) Finalize() (d) Terminate() |
| 14 | Applet can call init() method multiple times during its life cycle
(a) True (b) False |
| Published on 28th Sept 2021 | |
Leave a Reply