0
Guys i don't think i have my concepts clear its really confusing. I don't know where to use void where to use static scanner
I don't know in some topics they use dot syntax and using the different commands gives the same answer and where to use curly brackets { }
1 Answer
+ 3
For now just take it simply as it given below, your problem will overcome if you use more practice and focus on learning
void is used for methods where there is no return statement.
. is used for accessing varbiles or methods of different class.
And curly braces is a simply a area or scope where program runs.