Home

A package is a collection of

A. classes

B. interface

C. editing tools

D. classes and interfaces

You can do it yup
  1. Which of the following methods can be used to draw the outline of a square?
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. Members of a class specified as private are accessible only to the methods of the class.
  4. Declarations can appear anywhere in the body of a Java method.
  5. The name of a Java program file must match the name of the class with the extension Java.
  6. putValue(...) method takes _____________________-
  7. Which of the following methods can be used to remove a component from the display?
  8. JSP files creates ________________
  9. A catch can have comma-separated multiple arguments.
  10. A string object can not be modified after it is created.
  11. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  12. Which of the following control expressions are valid for an if statement?
  13. The setBackground() method is part of the class
  14. Which of the following statements are true?
  15. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  16. The default case is always required in the switch selection structure.
  17. JdbcOdbcDriver is an object of Object class
  18. forName() is a static factory method
  19. The modulus operator (%) can be used only with Integer operands.
  20. What is java -g used for?
  21. Which are the valid ways to create DataInputStream streams?
  22. Which of the following statements are valid array declarations?
  23. We can add more than one class(es) at the time of compilation Java Beans.
  24. We can over load methods with differences only in their return type.
  25. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  26. A static class method can be invoked by simply using the name of the method alone.
  27. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. The concept of multiple inheritance is implemented in Java by
  30. Which of the following are keywords?