Home

We can over load methods with differences only in their return type.

A. True

B. False

You can do it
  1. Declaring a method synchronized guarantees that the deadlock cannot occur.
  2. Frames and applets cannot be used together in the same program.
  3. Give file is a file object, which of the following are legal statements to create a new file.
  4. A JSP file can be stored_________________
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. Members of a class specified as private are accessible only to the methods of the class.
  7. Given the codeString s = new String("abc");Which of the following calls are valid?
  8. An individual array element that is passed to a method and modified in that method will contain the…
  9. We would like to make a member of a class visible in all subclasses regardless of what package they…
  10. Any class may be inherited by another class in the same package.
  11. The keywords reserved but not used in the initial version of Java re:
  12. The name of a Java program file must match the name of the class with the extension Java.
  13. A package is a collection of
  14. Servlet can have ___________
  15. The concept of multiple inheritance is implemented in Java by
  16. A Java monitor must either extend thread class or implement Runnable interface.
  17. A class may be both abstract and final.
  18. Which of the following are not keywords?
  19. Which of the following classes are available in the java.lang package?
  20. In RMI we invoke client method from remote server
  21. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  22. An EJB is a server-side component that encapsulates the business logic of an application
  23. In a single Servlet class we can use____________
  24. The programmer must explicitly create the system .in and system .out objects.
  25. It is an error to have a method with the same signature in both the super class and its subclass.
  26. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  27. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  28. All methods in an abstract class must be declared abstract.
  29. The methods wait() and noify() are defined in
  30. What is java -g used for?