Courses
Log inStart Learning AI
Courses
Log inStart Learning AI
0

can we use public int main() instead of void main()?

can we use public int main() instead of void main()

java
26th Dec 2017, 5:27 PM
venkatasubramani
venkatasubramani - avatar
2 Answers
+ 7
https://www.quora.com/Can-I-use-float-main-instead-of-the-usual-int-void-main-Why-or-why-not http://www.tutorial.java4all.in/?q=forum/why-cant-we-write-public-static-int-main-java-instead-public-static-void-main
26th Dec 2017, 5:32 PM
Scooby
Scooby - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Activities on sololearn
7 Votes
Html issue
2 Votes
Can you help me ?
1 Votes
Code coach
1 Votes
Cybersecurity jobs without degree
1 Votes
What am I doing wring?
1 Votes
Computer architecture
1 Votes
App development đŸ”„â˜ïž
1 Votes
what should be my first project in C.
2 Votes
Playground input
1 Votes