Answer to Question #3594 in Java | JSP | JSF for Y mukundareddy
2. Write a document what is public; what is static, what is void and main.
"public" - this is type of access that allows to use outside of class. "static" is needed to ensure that this element is used, and all objects inherited base classwithout defining this element every time.
type "void" is written in the case when the function returns no results.
"main" - is the main method in which the test is usually the work of other methods and classes.