A package is a collection of

A. classes

B. interface

C. editing tools

D. classes and interfaces

You can do it yup
  1. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  2. What does the following line of code do?TextField text=new TextField(10);
  3. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  4. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  5. executeUpdate(------------) returns ___________
  6. Which of the following will produce a value of 22 if x=22.9:
  7. When present, package must be the first no comment statement in the file.
  8. putValue(...) method takes _____________________-
  9. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  10. Members of a class specified as private are accessible only to the methods of the class.
  11. It is perfectly legal to assign a subclass object to a supper class reference.
  12. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  13. We would like to make a member of a class visible in all subclasses regardless of what package they…
  14. Which of the following methods can be used to change the size of a size() *resize()
  15. We can add more than one class(es) at the time of compilation Java Beans.
  16. A JSP file can be stored_________________
  17. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  18. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  19. Consider the following class definitions: class maths { student student1; } class student { String name;…
  20. Which of the following represent legal flow control statements?
  21. The name of a Java program file must match the name of the class with the extension Java.
  22. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  23. Which of the following methods can be used to remove a component from the display?
  24. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  25. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  26. Given the codeString s = new String("abc");Which of the following calls are valid?
  27. Which of the following methods belong to the String class?
  28. The name of the RMI compiler is ___________
  29. The default case is always required in the switch selection structure.
  30. A Java monitor must either extend thread class or implement Runnable interface.