Write the definition of each keyword following statement: public static void main(String args[])
Answers
Answered by
1
Answer:
- public: It is the access specifier
- static: It determines the type of method whether it is static or non-static
- void: It is the return type, which specify which kind of data it can return
And other 3 words main, String, and args are not keyword/ Reserved word
Answered by
1
Answer:
public : it is access speclfier
Similar questions