Home

Which of the following classes are available in the java.lang package?

A. Random

B. Stack

C. String Buffer

D. Vector

You can do it
  1. Consider the following class definitions: class maths { student student1; } class student { String name;…
  2. The name of a Java program file must match the name of the class with the extension Java.
  3. We can add more than one class(es) at the time of compilation Java Beans.
  4. All methods in an abstract class must be declared abstract.
  5. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  6. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  7. The check box group class is a subclass of the component class.
  8. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  9. Which of the following keywords are used to control access to a class member?
  10. In a single Servlet class we can use____________
  11. The import statement is always the first no comment statement in a Java program files.
  12. Which of the following represent legal flow control statements?
  13. class.forName(...) creates an instance of java ODBC driver
  14. We can over load methods with differences only in their return type.
  15. In the code below, what data types the variable x can have?
  16. The default case is always required in the switch selection structure.
  17. We would like to make a member of a class visible in all subclasses regardless of what package they…
  18. A final class may not have any abstract method.
  19. A constructor must always invoke its supper class constructor in its first statement.
  20. Which of the following are the wrapper classes?
  21. Given the codeString s = new String("abc");Which of the following calls are valid?
  22. Which of the following are not keywords?
  23. JSP files creates ________________
  24. In RMI we invoke client method from remote server
  25. All the bitwise operators have the same level of precedence in Java.
  26. In order to connect to a database through java program we must create _______-
  27. With javadoc, which of the following denotes a javadoc comment?
  28. When the string objects are compared with ==, the result is true If the strings contain the same values.
  29. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  30. Servlet can have ___________