r/learnjava • u/[deleted] • Dec 08 '17
Calling methods of a different class query
Hi guys.
Say I have a method in class A.
I then wish to call the method from class A in public static void main(String[] args).
How would I do so?
0
Upvotes
1
u/[deleted] Dec 08 '17
Needlessly?
That is your opinion.....
And as I have said, there has been offensive language which is against the subreddit.
Please don't be so judgemental.