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
☺ | Does a class inherit the constructors of its superclass in programming? |
☺ | What are the advantages of OOPL in a programming language? |
☺ | Can a method be overloaded based on different return type but same argument type in programming? |
☺ | How many ways can an argument be passed to a subroutine in programming? |
☺ | What do you mean by programming analysis and design? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |