Home

Which key word can protect a class in package from accessibility by the classes outside the package?

A. private

B. protected

C. final

D. don't use any keyword at all(make it default)

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. executeUpdate(------------) returns ___________
  2. Session bean
  3. The programmer must explicitly create the system .in and system .out objects.
  4. One the features of is that an array can store many different types of values.
  5. Objects are passed to a method by use of call-by-reference.
  6. In the code below, what data types the variable x can have?
  7. When present, package must be the first no comment statement in the file.
  8. Which of the following methods can be used to remove a component from the display?
  9. A Java monitor must either extend thread class or implement Runnable interface.
  10. All methods in an abstract class must be declared abstract.
  11. Which of the following command lines options generates documentation for all classes and methods?
  12. Declaring a method synchronized guarantees that the deadlock cannot occur.
  13. A final class may not have any abstract method.
  14. Which of the following statements are valid array declarations?
  15. Which of the following are not keywords?
  16. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  17. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  18. class.forName(...) creates an instance of java ODBC driver
  19. Which of the following statements are true?
  20. JdbcOdbcDriver is an object of Object class
  21. A panel can not be added to another panel.
  22. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  23. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  24. Two methods cannot have the same name in Java.
  25. Which key word can protect a class in package from accessibility by the classes outside the package?
  26. A variable declared inside the for loop control can not be referenced out side the loop.
  27. When we implement an interface method, it should be declared as public.
  28. A catch can have comma-separated multiple arguments.
  29. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  30. Submit button always fires doPost(...)