0

Would anyone help me by giving solutions?

I'm so interested to learn java. Every friend can help me. I'm so happy to come here. I'm new learner. Happy to join here. I want a class coad example & main method example. I'm not clear that which part is class & which part is main mathod of java coad.

14th Aug 2018, 2:06 AM
A Hossain Swapon
A Hossain Swapon - avatar
2 ответов
14th Aug 2018, 9:55 AM
Vivek Mishra
Vivek Mishra - avatar
0
class abc /* class declaration and abc is a class name */ { // It is a braces used to contain class public static void main(String args[]) /* this is a main method */ { // again we open braces System.out.println("Hello World"); /* this is method invocation */ } } /* then close all the braces */ // hope u understand and u can also check this https://www.sololearn.com/Course/Java/?ref=app
14th Aug 2018, 1:25 PM
Harsh Agrawal
Harsh Agrawal - avatar