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. JSP files creates ________________
  2. Which of the following methods can be used to draw the outline of a square?
  3. We would like to make a member of a class visible in all subclasses regardless of what package they…
  4. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  5. Every method of a final in class is implicitly final.
  6. When present, package must be the first no comment statement in the file.
  7. A JSP file can be stored_________________
  8. Connection, Statement are interfaces and ResultSet is a class.
  9. A string object can not be modified after it is created.
  10. A Java monitor must either extend thread class or implement Runnable interface.
  11. Declarations can appear anywhere in the body of a Java method.
  12. Give file is a file object, which of the following are legal statements to create a new file.
  13. Any class may be inherited by another class in the same package.
  14. A package is a collection of
  15. A final class may not have any abstract method.
  16. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  17. To delete a file, we can use an instance of class file.
  18. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  19. Which of the following methods can be used to remove a component from the display?
  20. We can add more than one class(es) at the time of compilation Java Beans.
  21. What is java -g used for?
  22. When we implement an interface method, it should be declared as public.
  23. All methods in an abstract class must be declared abstract.
  24. In the code below, what data types the variable x can have?
  25. The length of a string object 's1' can be obtained using the expression s1.length.
  26. A constructor must always invoke its supper class constructor in its first statement.
  27. Which of the following represent legal flow control statements?
  28. Consider the following class definitions: class maths { student student1; } class student { String name;…
  29. The default case is always required in the switch selection structure.
  30. Which of the following methods can be used to change the size of a size() *resize()