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
☺ | What is the difference between procedural and object-oriented programs? |
☺ | What are the advantages of OOPL in a programming language? |
☺ | List out some of the object-oriented methodologies? |
☺ | What is difference between overloading and overriding in programming language? |
☺ | Can a method be overloaded based on different return type but same argument type in programming? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |