Home

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

A. True

B. False

You can do it
  1. What does the following line of code do?TextField text=new TextField(10);
  2. class.forName(...) creates an instance of java ODBC driver
  3. Any class may be inherited by another class in the same package.
  4. Which of the following will produce a value of 22 if x=22.9:
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. An individual array element that is passed to a method and modified in that method will contain the…
  7. The name of the RMI compiler is ___________
  8. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  9. Which of the following statements are true?
  10. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  11. All the bitwise operators have the same level of precedence in Java.
  12. Which of the following control expressions are valid for an if statement?
  13. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  14. A string object can not be modified after it is created.
  15. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  16. Throwing an exception always causes program termination.
  17. What is java -g used for?
  18. In the code below, what data types the variable x can have?
  19. Which are the valid ways to create DataInputStream streams?
  20. forName() is a static factory method
  21. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  22. Submit button always fires doPost(...)
  23. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  24. Every method of a final in class is implicitly final.
  25. In a single Servlet class we can use____________
  26. Session bean
  27. When we invoke repaint () for a Component, the AWT invokes the method:
  28. Give file is a file object, which of the following are legal statements to create a new file.
  29. Which javadoc tag is used to denote a comment for methods parameters?
  30. Which key word can protect a class in package from accessibility by the classes outside the package?