Computer Science, asked by RUDEGIRL, 11 months ago

What is the different type of access modifiers?

Answers

Answered by EHSASS
4

                     ıllıllı ʜᴇʀᴇ ɪs ʏᴏᴜʀ ᴀɴsᴡᴇʀ ıllıllı

There are four type of access modifiers as given below

• Visible to the overall package. No modifier needed.

• Private – Visible to class only.

• Public – Visible to the world.

• Protected – Visible to package and subclass.

ᴇʜsᴀss   ✿◕ ‿ ◕✿

Answered by Anonymous
2

HERE IS YOUR ANSWER

There are 4 types of java access modifiers:

private

default

protected

public

BE YOURS..............^_^


Anonymous: Plz Na u should go try to understand na
Anonymous: I can't reply you even more =_=
Anonymous: Go idiot shut up =_=
Similar questions