Home

An individual array element that is passed to a method and modified in that method will contain the modified value when the called method completes execution.

A. True

B. False

You can do it
  1. A package is a collection of
  2. In the code below, what data types the variable x can have?
  3. JSP files creates ________________
  4. In order to connect to a database through java program we must create _______-
  5. In a single Servlet class we can use____________
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. Connection, Statement are interfaces and ResultSet is a class.
  8. Any method in a supper class can be over ridden in its subclass.
  9. Throwing an exception always causes program termination.
  10. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  11. EJBs can be of the following type(s)None of the above
  12. All methods in an abstract class must be declared abstract.
  13. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  14. executeUpdate(------------) returns ___________
  15. All the bitwise operators have the same level of precedence in Java.
  16. What does the following line of code do?TextField text=new TextField(10);
  17. forName() is a static factory method
  18. Declaring a method synchronized guarantees that the deadlock cannot occur.
  19. A class may be both abstract and final.
  20. Which of the following methods belong to the String class?
  21. putValue(...) method takes _____________________-
  22. The setBackground() method is part of the class
  23. Give file is a file object, which of the following are legal statements to create a new file.
  24. Which of the following control expressions are valid for an if statement?
  25. Which of the following represent legal flow control statements?
  26. When we implement an interface method, it should be declared as public.
  27. The break statement is required in the default case of a switch selection structure.
  28. The programmer must explicitly create the system .in and system .out objects.
  29. In RMI before running the client program we must start RMI Registry.
  30. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…