Hello everybody,
this is my first post about Java ever so be kind
I know C and C++ quite good i would say.However i decided that learning JAVA is a must for me.So i started with a tutorial i found on the net.The first question i had has been unresolved up to now,so i ask you
The question
Why function main has a void return type?In C and C++ it is int in order to notify if it has terminated sycceddfully or not.Why not the same in Java?Is there a reason?(maybe yes,else it would be the same i guess)