Interviewer And Interviewee Guide

Java Interview Question:

If a method is declared as protected, where may the method be accessed in Java Programming?

Submitted by: Administrator
A protected method may only be accessed by classes or interfaces of the same package or by subclasses of the class in which it is declared.
Submitted by: Administrator

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