Home

A constructor must always invoke its supper class constructor in its first statement.

A. True

B. False

You can do it
  1. Which of the following methods can be used to remove a component from the display?
  2. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  3. A class may be both abstract and final.
  4. All the bitwise operators have the same level of precedence in Java.
  5. Which of the following control expressions are valid for an if statement?
  6. DataInput is
  7. Which of the following statements are true?
  8. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  9. A final class may not have any abstract method.
  10. Which of the following will produce a value of 22 if x=22.9:
  11. A method declared as static can not access non-static class members.
  12. The name of the RMI compiler is ___________
  13. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  14. Which of the following represent legal flow control statements?
  15. When we implement the Runnable interface, we must define the method
  16. class.forName(...) creates an instance of java ODBC driver
  17. The concept of multiple inheritance is implemented in Java by
  18. The name of a Java program file must match the name of the class with the extension Java.
  19. What does the following line of code do?TextField text=new TextField(10);
  20. Which of the following are keywords?
  21. Which of the following statements are valid array declarations?
  22. When present, package must be the first no comment statement in the file.
  23. A string object can not be modified after it is created.
  24. The use of protected keyword to a member in a class will restrict its visibility as follows:
  25. Given the codeString s = new String("abc");Which of the following calls are valid?
  26. The programmer must explicitly create the system .in and system .out objects.
  27. To delete a file, we can use an instance of class file.
  28. JdbcOdbcDriver is an object of Object class
  29. Which are the valid ways to create DataInputStream streams?
  30. A constructor must always invoke its supper class constructor in its first statement.