Home

It is an error if a class with one or more abstract methods is not explicitly declared abstract.

A. True

B. False

You can do it
  1. Consider the following class definitions: class maths { student student1; } class student { String name;…
  2. Which javadoc tag is used to denote a comment for methods parameters?
  3. It is perfectly legal to assign a subclass object to a supper class reference.
  4. A panel can not be added to another panel.
  5. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  6. Which of the following will produce a value of 10 if x = 9.7?
  7. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  8. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  9. Objects are passed to a method by use of call-by-reference.
  10. A constructor must always invoke its supper class constructor in its first statement.
  11. putValue(...) method takes _____________________-
  12. Submit button always fires doPost(...)
  13. With javadoc, which of the following denotes a javadoc comment?
  14. Which of the following methods can be used to change the size of a size() *resize()
  15. The use of protected keyword to a member in a class will restrict its visibility as follows:
  16. What does the following line of code do?TextField text=new TextField(10);
  17. A Java monitor must either extend thread class or implement Runnable interface.
  18. In order to connect to a database through java program we must create _______-
  19. The check box group class is a subclass of the component class.
  20. Any class may be inherited by another class in the same package.
  21. Which of the following represent legal flow control statements?
  22. Which of the following represent legal flow control statements?
  23. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  24. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  25. The programmer must explicitly create the system .in and system .out objects.
  26. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  27. One the features of is that an array can store many different types of values.
  28. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  29. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  30. Which of the following keywords are used to control access to a class member?