The name of a Java program file must match the name of the class with the extension Java.

A. True

B. False

You can do it
  1. forName() is a static factory method
  2. What is java -g used for?
  3. executeUpdate automatically updates data because___________
  4. Which of the following are keywords?
  5. A method declared as static can not access non-static class members.
  6. It is perfectly legal to assign a subclass object to a supper class reference.
  7. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  8. The setBackground() method is part of the class
  9. Which of the following represent legal flow control statements?
  10. A JSP file can be stored_________________
  11. The use of protected keyword to a member in a class will restrict its visibility as follows:
  12. putValue(...) method takes _____________________-
  13. Every method of a final in class is implicitly final.
  14. Which of the following methods belong to the String class?
  15. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  16. A variable declared inside the for loop control can not be referenced out side the loop.
  17. The programmer must explicitly create the system .in and system .out objects.
  18. A constructor must always invoke its supper class constructor in its first statement.
  19. Objects are passed to a method by use of call-by-reference.
  20. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  21. JdbcOdbcDriver is an object of Object class
  22. Submit button always fires doPost(...)
  23. When we implement an interface method, it should be declared as public.
  24. A panel can not be added to another panel.
  25. A static class method can be invoked by simply using the name of the method alone.
  26. A final class may not have any abstract method.
  27. With javadoc, which of the following denotes a javadoc comment?
  28. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  29. We would like to make a member of a class visible in all subclasses regardless of what package they…
  30. What does the following line of code do?TextField text=new TextField(10);