What is the purpose of a class specifier (declarations)?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

What is the purpose of a class specifier (declarations)??

25th Sep 2018, 4:54 AM
Md Ibrahim (West Bengal, India)
Md Ibrahim (West Bengal, India) - avatar
3 Answers
+ 7
class specifier secures your data to be excessed by other classes or from non-user ones.
26th Sep 2018, 10:16 AM
Mradul Uttam
Mradul Uttam - avatar
26th Sep 2018, 11:31 AM
Fajar Maftuh Fadli
Fajar Maftuh Fadli - avatar
+ 1
it ensures security for data so that it can't be used by other classes or unauthorised users
20th Oct 2018, 12:48 AM
@ramis