SyntaxFix
Write A Post
Hire A Developer
Questions
First create an object of class2 in class1 and then use that object to call any function of class2 for example write this in class1
class2 obj= new class2(); obj.thefunctioname(args);