If a class is declared without any access modifiers, where may the class be accessed?
Submitted by: AdministratorA class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package.
Submitted by: Administrator
Submitted by: Administrator
Read Online Programming Job Interview Questions And Answers
Top Programming Questions
☺ | Can a method be overloaded based on different return type but same argument type in programming? |
☺ | What is meant by “method-wars” in Programming? |
☺ | Who were the three famous amigos and what was their contribution to the object community? |
☺ | Does a class inherit the constructors of its superclass in programming? |
☺ | What is difference between overloading and overriding in programming language? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |