you're not way off, but slightly.
A getter is meant to "get" data. It doesn't require any input parameters, and should return the value in question.
An example getter:
public class A
{
...
Type: Posts; User: helloworld922
you're not way off, but slightly.
A getter is meant to "get" data. It doesn't require any input parameters, and should return the value in question.
An example getter:
public class A
{
...