Home

A variable declared inside the for loop control can not be referenced out side the loop.

A. True

B. False

You can do it
  1. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  2. When we implement an interface method, it should be declared as public.
  3. Which of the following methods can be used to change the size of a size() *resize()
  4. When we implement the Runnable interface, we must define the method
  5. An individual array element that is passed to a method and modified in that method will contain the…
  6. Which of the following methods can be used to remove a component from the display?
  7. Connection, Statement are interfaces and ResultSet is a class.
  8. A catch can have comma-separated multiple arguments.
  9. The modulus operator (%) can be used only with Integer operands.
  10. Which of the following command lines options generates documentation for all classes and methods?
  11. The name of a Java program file must match the name of the class with the extension Java.
  12. A panel can not be added to another panel.
  13. The keywords reserved but not used in the initial version of Java re:
  14. It is an error to have a method with the same signature in both the super class and its subclass.
  15. Which of the following statements are valid array declarations?
  16. Which of the following are the wrapper classes?
  17. A JSP file can be stored_________________
  18. Which of the following methods belong to the String class?
  19. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  20. All methods in an abstract class must be declared abstract.
  21. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  22. JdbcOdbcDriver is an object of Object class
  23. Any class may be inherited by another class in the same package.
  24. We can over load methods with differences only in their return type.
  25. Which of the following will produce a value of 10 if x = 9.7?
  26. In order to connect to a database through java program we must create _______-
  27. What is java -g used for?
  28. The setBackground() method is part of the class
  29. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  30. Throwing an exception always causes program termination.