21. | Does the order of public and static declaration matter in main() method? |
|
22. | Can a source file contain more than one class declaration? |
|
23. | What is a package? |
|
24. | Which package is imported by default? |
|
25. | Can a class declared as private be accessed outside it's package? |
|
26. | Can a class be declared as protected? |
|
27. | What is the access scope of a protected method? |
|
28. | What is the purpose of declaring a variable as final? |
|
29. | What is the impact of declaring a method as final? |
|
30. | I don't want my class to be inherited by any other class. What should i do? |
|