Home

Any method in a supper class can be over ridden in its subclass.

A. True

B. False

You can do it
  1. A package is a collection of
  2. What does the following line of code do?TextField text=new TextField(10);
  3. Any method in a supper class can be over ridden in its subclass.
  4. A constructor must always invoke its supper class constructor in its first statement.
  5. The default case is always required in the switch selection structure.
  6. An individual array element that is passed to a method and modified in that method will contain the…
  7. When we implement an interface method, it should be declared as public.
  8. The modulus operator (%) can be used only with Integer operands.
  9. A static class method can be invoked by simply using the name of the method alone.
  10. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  11. The methods wait() and noify() are defined in
  12. Servlet can have ___________
  13. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  14. Objects are passed to a method by use of call-by-reference.
  15. It is perfectly legal to assign a subclass object to a supper class reference.
  16. Which of the following methods can be used to draw the outline of a square?
  17. Which of the following methods belong to the String class?
  18. A catch can have comma-separated multiple arguments.
  19. The use of protected keyword to a member in a class will restrict its visibility as follows:
  20. The keywords reserved but not used in the initial version of Java re:
  21. JSP files creates ________________
  22. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  23. The import statement is always the first no comment statement in a Java program files.
  24. A variable declared inside the for loop control can not be referenced out side the loop.
  25. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  26. Give file is a file object, which of the following are legal statements to create a new file.
  27. A Java monitor must either extend thread class or implement Runnable interface.
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  30. When we implement the Runnable interface, we must define the method