0

Why should i type public before constructor? can i create a constructor without public?

14th Jan 2016, 12:04 PM
JulietLove
2 odpowiedzi
0
you can not access this constructor out the class if its type not public
31st Jan 2016, 3:51 PM
Sama Mamdouh
Sama Mamdouh - avatar
0
yes u can.. if you don't mention it as public then by default it is considered as package
17th Aug 2016, 7:58 AM
mahi