Home

A static class method can be invoked by simply using the name of the method alone.

A. True

B. False

You can do it
  1. The programmer must explicitly create the system .in and system .out objects.
  2. When we implement an interface method, it should be declared as public.
  3. To delete a file, we can use an instance of class file.
  4. Any method in a supper class can be over ridden in its subclass.
  5. A final class may not have any abstract method.
  6. Java always provides a default constructor to a class.
  7. All methods in an abstract class must be declared abstract.
  8. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  9. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  10. executeUpdate automatically updates data because___________
  11. With javadoc, which of the following denotes a javadoc comment?
  12. Which of the following methods can be used to draw the outline of a square?
  13. A catch can have comma-separated multiple arguments.
  14. Which of the following methods can be used to change the size of a size() *resize()
  15. A static class method can be invoked by simply using the name of the method alone.
  16. A method declared as static can not access non-static class members.
  17. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  18. putValue(...) method takes _____________________-
  19. Frames and applets cannot be used together in the same program.
  20. Which of the following are not keywords?
  21. Which of the following statements are true?
  22. DataInput is
  23. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  24. A package is a collection of
  25. Connection, Statement are interfaces and ResultSet is a class.
  26. It is perfectly legal to refer to any instance variable inside of a static method.
  27. The setBackground() method is part of the class
  28. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  29. Session bean
  30. A panel can not be added to another panel.