SyntaxFix
Write A Post
Hire A Developer
Questions
Simply create an instance of Class2 and call the desired method.
Class2
Suggested reading: http://docs.oracle.com/javase/tutorial/java/javaOO/