0
Im Complete Newbie In Programming . but i just wanna do programming . can i learn??
10 Answers
+ 7
Ignore what public static void... etc is until later in the course. Jumping right into what static or void is will confuse you.
It will be explained later in the course.
Buuuut.. Encase you're curious, here's what it is anyway:
Feel free to learn in the course then come back here and have a look at this. You won't understand these things right away.
main:
This is the starting point to your program. All Java programs start in the main method.
public:
This is an access modifier, it means the member can be accessed from any class.
void:
This is a return type, it means the method does not return a value.
static:
This makes the member bound to the class itself rather than an instance of the class. This is the last thing you should try to understand out of all these, it will not make sense at first.
String[]:
This is an array of type String. This is in the parameters of the method so you can pass commands to the main method when the program starts to perform certain tasks.This is called Command Line Arguments.
args:
Simply this is the name of the String array.
+ 5
I dunno. Can you? If you can, then yes. If you can't, then no.
+ 5
https://www.sololearn.com/Course/Java/
^there ya go. Best place to start with Java.
+ 4
SoloLearn starts at basics.
+ 3
Start with the course on Java here!
Practice in vode playground every time you learn something new.
I'm sure you can start making some cool stuff in no time.
+ 2
did you complete the course ? đ ; if not go complete it do some learning and practice than when you get stuck ask, okay đ
+ 1
@Adarah Jha
you are on Sololearn asking a question related to Java why don't you give Java a spin.
0
I should Start From where?
0
Whats the basic ?
0
public static void main(String[ ] args) {
what is args? and y there is 2 brackets after String?