0

The difference between java and C++

I know that we always write int main or void main in c++ as a separate function. They don't do that in java? Why do they write main in the class and also with the word static?

2nd Jan 2025, 8:01 PM
Колоб Масло
Колоб Масло - avatar
2 Réponses
+ 2
Колоб Масло , this is not quite the right place to raise your question. > *q&a* section is meant for coding related questions, doubts and discussions about the topic. > anything else should be posted in the `feed` that is located in the community section.
2nd Jan 2025, 9:15 PM
Lothar
Lothar - avatar
+ 1
Interesting
2nd Jan 2025, 8:02 PM
Колоб Масло
Колоб Масло - avatar