If you omit the visibility keyword in your method declaration, by default the method will be declared as.
A.public
B.private
C.protected
D.friendly
Answers
Answered by
3
Hola friends..
=============
Option A......
is the correct answer..
By declaring a method public, you ensure that it can be invoked from outside of the current object.
=============
Option A......
is the correct answer..
By declaring a method public, you ensure that it can be invoked from outside of the current object.
Answered by
4
Heya mate
The answer of ur question is
♢ If you omit thd visibility keyboard in your method declaration, by default the method will be declared as the public .
So , option - ( A ) is the answer
hope it helps
The answer of ur question is
♢ If you omit thd visibility keyboard in your method declaration, by default the method will be declared as the public .
So , option - ( A ) is the answer
hope it helps
Similar questions
English,
6 months ago
English,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Science,
1 year ago