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)

You can do it yup
  1. Which of the following classes are available in the java.lang package?
  2. The break statement is required in the default case of a switch selection structure.
  3. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  4. The programmer must explicitly create the system .in and system .out objects.
  5. The concept of multiple inheritance is implemented in Java by
  6. An individual array element that is passed to a method and modified in that method will contain the…
  7. Servlet can have ___________
  8. Which of the following statements are true?
  9. executeUpdate(------------) returns ___________
  10. class.forName(...) creates an instance of java ODBC driver
  11. Give file is a file object, which of the following are legal statements to create a new file.
  12. It is perfectly legal to assign a subclass object to a supper class reference.
  13. Declaring a method synchronized guarantees that the deadlock cannot occur.
  14. The keywords reserved but not used in the initial version of Java re:
  15. The length of a string object 's1' can be obtained using the expression s1.length.
  16. Consider the following class definitions: class maths { student student1; } class student { String name;…
  17. When the string objects are compared with ==, the result is true If the strings contain the same values.
  18. The check box group class is a subclass of the component class.
  19. One the features of is that an array can store many different types of values.
  20. A method declared as static can not access non-static class members.
  21. What is java -g used for?
  22. Which of the following are not keywords?
  23. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  24. We would like to make a member of a class visible in all subclasses regardless of what package they…
  25. Java always provides a default constructor to a class.
  26. Throwing an exception always causes program termination.
  27. A variable declared inside the for loop control can not be referenced out side the loop.
  28. executeUpdate automatically updates data because___________
  29. Frames and applets cannot be used together in the same program.
  30. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…