Home

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

A. True

B. False

You can do it
  1. The length of a string object 's1' can be obtained using the expression s1.length.
  2. The setBackground() method is part of the class
  3. Objects are passed to a method by use of call-by-reference.
  4. When we implement an interface method, it should be declared as public.
  5. All methods in an abstract class must be declared abstract.
  6. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. Which of the following classes are available in the java.lang package?
  9. What is java -g used for?
  10. The name of a Java program file must match the name of the class with the extension Java.
  11. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  12. Which of the following command lines options generates documentation for all classes and methods?
  13. Which of the following statements are true?
  14. A JSP file can be stored_________________
  15. Servlet has ___________
  16. The concept of multiple inheritance is implemented in Java by
  17. Servlet can have ___________
  18. An EJB is a server-side component that encapsulates the business logic of an application
  19. The programmer must explicitly create the system .in and system .out objects.
  20. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  21. putValue(...) method takes _____________________-
  22. Which of the following are not keywords?
  23. EJBs can be of the following type(s)None of the above
  24. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  25. Which of the following will produce a value of 22 if x=22.9:
  26. Which of the following keywords are used to control access to a class member?
  27. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  28. It is perfectly legal to refer to any instance variable inside of a static method.
  29. One the features of is that an array can store many different types of values.
  30. Any method in a supper class can be over ridden in its subclass.