Consider the following class definition.
Class Student extends String
What happens when we try to compile this class?

A. Will not compile because class body is not defined

B. Will not compile because class is not declared public

C. Will compile successfully.

D. Will not compile because String is abstract

You can do it
  1. We can add more than one class(es) at the time of compilation Java Beans.
  2. Which of the following methods can be used to draw the outline of a square?
  3. One the features of is that an array can store many different types of values.
  4. When we implement an interface method, it should be declared as public.
  5. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  6. A panel can not be added to another panel.
  7. Frames and applets cannot be used together in the same program.
  8. Any class may be inherited by another class in the same package.
  9. Which exception is thrown by the read() method of InputStream class?
  10. With javadoc, which of the following denotes a javadoc comment?
  11. EJBs can be of the following type(s)None of the above
  12. DataInput is
  13. Which of the following represent legal flow control statements?
  14. Which of the following are not keywords?
  15. Consider the following class definitions: class maths { student student1; } class student { String name;…
  16. A final class may not have any abstract method.
  17. The import statement is always the first no comment statement in a Java program files.
  18. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  19. When the string objects are compared with ==, the result is true If the strings contain the same values.
  20. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  21. A JSP file can be stored_________________
  22. Objects are passed to a method by use of call-by-reference.
  23. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  24. An individual array element that is passed to a method and modified in that method will contain the…
  25. The programmer must explicitly create the system .in and system .out objects.
  26. Servlet can have ___________
  27. Connection, Statement are interfaces and ResultSet is a class.
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. Session bean
  30. Which of the following statements are true?