I'll walk you through a simple example of how to override the toString() method:
Let's say we have class named A, which had an int variable var which was set in the constructor:
public class A...
Type: Posts; User: aussiemcgr
I'll walk you through a simple example of how to override the toString() method:
Let's say we have class named A, which had an int variable var which was set in the constructor:
public class A...