A package is a collection of

A. classes

B. interface

C. editing tools

D. classes and interfaces

You can do it
  1. Which of the following will produce a value of 22 if x=22.9:
  2. The methods wait() and noify() are defined in
  3. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  4. We can add more than one class(es) at the time of compilation Java Beans.
  5. A method declared as static can not access non-static class members.
  6. JSP files creates ________________
  7. We would like to make a member of a class visible in all subclasses regardless of what package they…
  8. When we invoke repaint () for a Component, the AWT invokes the method:
  9. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  10. We can over load methods with differences only in their return type.
  11. EJBs can be of the following type(s)None of the above
  12. Consider the following class definitions: class maths { student student1; } class student { String name;…
  13. It is perfectly legal to refer to any instance variable inside of a static method.
  14. A panel can not be added to another panel.
  15. The programmer must explicitly create the system .in and system .out objects.
  16. Submit button always fires doPost(...)
  17. A constructor must always invoke its supper class constructor in its first statement.
  18. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  19. Connection, Statement are interfaces and ResultSet is a class.
  20. Which of the following classes are available in the java.lang package?
  21. Declarations can appear anywhere in the body of a Java method.
  22. Which of the following methods belong to the String class?
  23. A class may be both abstract and final.
  24. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  25. An individual array element that is passed to a method and modified in that method will contain the…
  26. Which of the following control expressions are valid for an if statement?
  27. Throwing an exception always causes program termination.
  28. A string object can not be modified after it is created.
  29. class.forName(...) creates an instance of java ODBC driver
  30. The keywords reserved but not used in the initial version of Java re: