与返回类型混淆 [英] Confusion with return type

查看:84
本文介绍了与返回类型混淆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在main方法中仅使用void的原因是什么.
任何的想法!请帮助我

What is reason to use only void in main method.
Any idea! please help me

推荐答案

您只能在主方法中使用intvoid
并进一步了解它..
我建议您看一下专家给出的答案,在此处 [ ^ ]在同一(CP)论坛中
我希望它能帮助您消除对Main方法中返回类型的困惑.
You can only use int or void in your Main Method
and to know more about it..
I will suggest you to take a look of expert answer which is given Here[^] in same(C.P) forum
I hope it will help you to remove your confusion about return type in Main Method.


这篇关于与返回类型混淆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆