Subject Code: 82866 Subject Name: Java Programming Common Subject Code (If Any)
Subject Code: 82866 Subject Name: Java Programming Common Subject Code (If Any)
Subject Code: 82866 Subject Name: Java Programming Common Subject Code (If Any)
1. __________driver converts JDBC method calls into native calls of the database API.
A. Native-API
B. JDBC-ODBC bridge
C. Network Protocol driver
D. Thin driver
4. Which of these access specifiers can be used for a class so that its members can be
accessed by a different class in the different package?
A. Public
B. Protected
C. Private
D. No Modifier
5. Binding (or wrapping) code and data together into a single unit are known as ________.
A. Polymorphism
B. Inheritance
C. Encapsulation
D. None of these
8. In java bean _________method will take only one parameter whose type with be the same
as that of data member
A. get()
B. set()
C. Both get() and set()
D. None of these
9. Which cookie it is valid for single session only and it is removed each time when the user
closes the browser?
A. Persistent cookie
B. Non-persistent cookie
C. Both Non-persistent and persistent cookie
D. None of these
10. What is the process of defining a method in subclass having same name & type signature
as a method in its superclass?
A. Method overloading
B. Method overriding
C. Method hiding
D. None of these
20. ________is a Java run-time system that chooses to execute the JAVA Bytecode.
A. SDK
B. JDK
C. JVM
D. None of these
23. Which method of the Naming class (found in java.rmi) is used to update the RMI registry
on the server machine?
A. rebind ()
B. lookup()
C. lookup() And rebind ()
D. None of these
24. During ____________ phase, the JSF processes all validators registered on component
tree
A. Process validations
B. Render response
C. Update model values
D. None of these
25. Which of the following are the life cycle methods of jsp?
A. jspInit()
B. jspService()
C. jspDestroy()
D. All of these
26. Java uses two stage system for program execution. They are___________
A. Compiler and interpreter
B. Copy and compiler
C. Compiler and instruction
D. None of these
35. Which method of the Naming class (found in java.rmi) is used to update the RMI registry
on the server machine?
A. rebind ()
B. lookup()
C. lookup() And rebind ()
D. None of these
36. __________beans contain only the code part
A. Non-visual
B. Visual
C. Both Non-visual and Visual
D. None of these