Interviewer And Interviewee Guide

Programming Interview Question:

If a class is declared without any access modifiers, where may the class be accessed?

Submitted by: Administrator
A 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

Read Online Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.