+ 2

As far as i know the class containing the executable main function needs to be declared as public. Please do correct me if wrong

26th Jul 2018, 12:16 PM
Shubhangi Gupta
Shubhangi Gupta - avatar
4 Réponses
26th Jul 2018, 12:23 PM
Mohammad Amir Aqeel
Mohammad Amir Aqeel - avatar
0
Then how is this working with public class https://www.sololearn.com/learn/Java/2137/?ref=app
26th Jul 2018, 1:10 PM
Shubhangi Gupta
Shubhangi Gupta - avatar