Home

Which of the following are keywords?

A. integer

B. default

C. Boolean

D. Object

You can do it
  1. Consider the following class definitions: class maths { student student1; } class student { String name;…
  2. Connection, Statement are interfaces and ResultSet is a class.
  3. Which are the valid ways to create DataInputStream streams?
  4. In the code below, what data types the variable x can have?
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  7. Which of the following will produce a value of 22 if x=22.9:
  8. Which of the following methods belong to the String class?
  9. Declaring a method synchronized guarantees that the deadlock cannot occur.
  10. In order to connect to a database through java program we must create _______-
  11. A static class method can be invoked by simply using the name of the method alone.
  12. The check box group class is a subclass of the component class.
  13. Which of the following statements are true?
  14. In a single Servlet class we can use____________
  15. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  16. Which javadoc tag is used to denote a comment for methods parameters?
  17. All methods in an abstract class must be declared abstract.
  18. Frames and applets cannot be used together in the same program.
  19. An EJB is a server-side component that encapsulates the business logic of an application
  20. DataInput is
  21. A class may be both abstract and final.
  22. A catch can have comma-separated multiple arguments.
  23. Which of the following statements are true?
  24. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  25. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  26. The break statement is required in the default case of a switch selection structure.
  27. class.forName(...) creates an instance of java ODBC driver
  28. Members of a class specified as private are accessible only to the methods of the class.
  29. Which of the following methods can be used to remove a component from the display?
  30. Which of the following are not keywords?