Home

Which of the following are keywords?

A. integer

B. default

C. Boolean

D. Object

You can do it
  1. Which key word can protect a class in package from accessibility by the classes outside the package?
  2. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  3. A class may be both abstract and final.
  4. To delete a file, we can use an instance of class file.
  5. Servlet can have ___________
  6. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  7. When we implement the Runnable interface, we must define the method
  8. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  9. In a single Servlet class we can use____________
  10. Which of the following will produce a value of 10 if x = 9.7?
  11. An individual array element that is passed to a method and modified in that method will contain the…
  12. When the string objects are compared with ==, the result is true If the strings contain the same values.
  13. DataInput is
  14. Which exception is thrown by the read() method of InputStream class?
  15. The methods wait() and noify() are defined in
  16. We can add more than one class(es) at the time of compilation Java Beans.
  17. A final class may not have any abstract method.
  18. The programmer must explicitly create the system .in and system .out objects.
  19. A JSP file can be stored_________________
  20. Objects are passed to a method by use of call-by-reference.
  21. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  22. Members of a class specified as private are accessible only to the methods of the class.
  23. Which of the following keywords are used to control access to a class member?
  24. What does the following line of code do?TextField text=new TextField(10);
  25. The use of protected keyword to a member in a class will restrict its visibility as follows:
  26. Frames and applets cannot be used together in the same program.
  27. A package is a collection of
  28. Declaring a method synchronized guarantees that the deadlock cannot occur.
  29. Which of the following methods can be used to draw the outline of a square?
  30. In the code below, what data types the variable x can have?