Hello guys, i have two methods in a class and want to cal one of them inside another java class something like this : class Y { public void y1 ( ) { } } class X { public void x1 ( ) { } Y.y1 (); }
Question
Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.