+ 3
help! what does public keyword do in java and difference b/w ( public class mycalss{...} and class myclass{..} )
i confused the public keyword
8 Respostas
+ 4
Naman Pandey thanks
+ 4
The default access is package private.
+ 4
A̳X̳M̳E̳D̳ ̳Y̳A̳R̳E̳ no problem.
+ 3
Kevin Star thanks
+ 3
JavaGoal.com thanks
+ 2
there are 3 types of access specifiers in java-Public,Private and Protected
Public makes a class' data public while Protected is used when you only want to see your class's contents
+ 2
Sonic thanks