asked 71.2k views
2 votes
When no access modifier is specified for a method or variable, the method or variable ________.

a. is public

b. is private

c. has package access

d. is static

asked
User Shrads
by
8.1k points

1 Answer

2 votes

Answer: The answer is B private

Explanation: because the variable is seperated from everything else

answered
User Csrowell
by
7.6k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.