Computer Science, asked by allnamesgone, 6 months ago

Write the definition of each keyword following statement: public static void main(String args[])

Answers

Answered by imtiyazallam
1

Answer:

  1. public: It is the access specifier
  2. static: It determines the type of method whether it is static or non-static
  3. 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 neetupanwar597
1

Answer:

public : it is access speclfier

Similar questions