Access specifier | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Access specifier

why we use Colon in access specifier?

15th Nov 2016, 8:33 PM
Fasiha Memon
Fasiha Memon - avatar
1 Answer
+ 1
Because it is syntax for delaring the access specifier as complier after detecting the colon (:) came to know that it is access specification.
15th Nov 2016, 10:13 PM
ROHAN JOSHI
ROHAN JOSHI - avatar