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. Submit button always fires doPost(...)
  2. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  3. The programmer must explicitly create the system .in and system .out objects.
  4. Give file is a file object, which of the following are legal statements to create a new file.
  5. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  6. It is perfectly legal to refer to any instance variable inside of a static method.
  7. What does the following line of code do?TextField text=new TextField(10);
  8. A panel can not be added to another panel.
  9. The keywords reserved but not used in the initial version of Java re:
  10. In RMI we invoke client method from remote server
  11. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  12. The length of a string object 's1' can be obtained using the expression s1.length.
  13. A method declared as static can not access non-static class members.
  14. A variable declared inside the for loop control can not be referenced out side the loop.
  15. Given the codeString s = new String("abc");Which of the following calls are valid?
  16. The name of the RMI compiler is ___________
  17. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  18. class.forName(...) creates an instance of java ODBC driver
  19. Which of the following methods can be used to change the size of a size() *resize()
  20. Which of the following keywords are used to control access to a class member?
  21. When we invoke repaint () for a Component, the AWT invokes the method:
  22. It is perfectly legal to assign a subclass object to a supper class reference.
  23. A static class method can be invoked by simply using the name of the method alone.
  24. Which exception is thrown by the read() method of InputStream class?
  25. Every method of a final in class is implicitly final.
  26. DataInput is
  27. Which of the following classes are available in the java.lang package?
  28. Which of the following methods belong to the String class?
  29. Declarations can appear anywhere in the body of a Java method.
  30. Any method in a supper class can be over ridden in its subclass.