gongpex 36 Posted October 14, 2013 Report Share Posted October 14, 2013 Hello everyone, long time no see, I hope all of you are alright, I want to ask, what's the difference between : public void objectTest() {} with : public String objectTest() {} please someone answer me Thanks Quote Link to post Share on other sites
justsomeguy 1,135 Posted October 14, 2013 Report Share Posted October 14, 2013 One of them doesn't return a value, and one of them returns a string. Quote Link to post Share on other sites
mk12345 0 Posted November 9, 2013 Report Share Posted November 9, 2013 public void objecttest doesn't return any type but public string objecttest return the string type. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.