Which of the following methods can be used to draw the outline of a square?

A. fillRect()

B. drawLine()

C. drawString()

D. all of the above

You can do it
  1. When we implement an interface method, it should be declared as public.
  2. In RMI we invoke client method from remote server
  3. All methods in an abstract class must be declared abstract.
  4. Which key word can protect a class in package from accessibility by the classes outside the package?
  5. The name of a Java program file must match the name of the class with the extension Java.
  6. executeUpdate(------------) returns ___________
  7. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  8. executeUpdate automatically updates data because___________
  9. The methods wait() and noify() are defined in
  10. We can over load methods with differences only in their return type.
  11. We would like to make a member of a class visible in all subclasses regardless of what package they…
  12. class.forName(...) creates an instance of java ODBC driver
  13. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  14. Submit button always fires doPost(...)
  15. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  16. JdbcOdbcDriver is an object of Object class
  17. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  18. Which of the following keywords are used to control access to a class member?
  19. A variable declared inside the for loop control can not be referenced out side the loop.
  20. Declaring a method synchronized guarantees that the deadlock cannot occur.
  21. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  22. DataInput is
  23. Declarations can appear anywhere in the body of a Java method.
  24. Which javadoc tag is used to denote a comment for methods parameters?
  25. Give file is a file object, which of the following are legal statements to create a new file.
  26. Which of the following methods belong to the String class?
  27. In a single Servlet class we can use____________
  28. A constructor must always invoke its supper class constructor in its first statement.
  29. Which of the following methods can be used to draw the outline of a square?
  30. Which of the following are the wrapper classes?