Its a interface , which is single method for the implement :
public void run {}.
More --- >>
main() is the static its Void return Type.Its have a single stirng array argument,its name as a flexible but args name is use in the convention.themain() method is public.impropper main() declaration is create an runtime error not the compile error.
More --- >>