Home

Which of the following statements are true?

A. An abstract class may not have any final methods?

B. A final class may not have any abstracts methods.

C. Transient variables must be static.

D. all of the above

You can do it
  1. Which of the following will produce a value of 22 if x=22.9:
  2. Throwing an exception always causes program termination.
  3. What does the following line of code do?TextField text=new TextField(10);
  4. We can over load methods with differences only in their return type.
  5. putValue(...) method takes _____________________-
  6. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  7. The name of a Java program file must match the name of the class with the extension Java.
  8. Which of the following are not keywords?
  9. Which of the following represent legal flow control statements?
  10. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  11. Frames and applets cannot be used together in the same program.
  12. The length of a string object 's1' can be obtained using the expression s1.length.
  13. A string object can not be modified after it is created.
  14. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  15. Any class may be inherited by another class in the same package.
  16. Consider the following class definitions: class maths { student student1; } class student { String name;…
  17. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  18. A JSP file can be stored_________________
  19. In RMI we invoke client method from remote server
  20. Java is fully object oriented programme.
  21. An individual array element that is passed to a method and modified in that method will contain the…
  22. executeUpdate(------------) returns ___________
  23. Which of the following methods can be used to remove a component from the display?
  24. A catch can have comma-separated multiple arguments.
  25. Given the codeString s = new String("abc");Which of the following calls are valid?
  26. A method declared as static can not access non-static class members.
  27. Which of the following methods belong to the String class?
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. An EJB is a server-side component that encapsulates the business logic of an application
  30. Submit button always fires doPost(...)