answersLogoWhite

0

What is getter method?

Updated: 8/20/2019
User Avatar

Wiki User

9y ago

Best Answer

Getter method is A getter method have its name start with 'get', and take 0 parameters, and returns a value. example :public class Login { public String lmail; public String getLmail() { return lmail; }

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is getter method?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are getters and setters method?

Getter method: A getter method have its name start with 'get', and take 0 parameters, and also returns a value. Setter method: A setter method have its name start with "set", and takes 1 parameter. Setters may or may not return a value. Some setters return void, some the value set.


What is Get Setting in programming language?

Data value (hold in a variable) in a program can be made safe by declaring it as private and public Getter and setter method can be written to access the same. So Getter/setter are the interface to outside world.


Is a 3DS getter then a dsi XL?

Yes. It is getter.


What is a getter?

A go getter is a highly motivated individual.


When was Matylda Getter born?

Matylda Getter was born in 1870.


When did Matylda Getter die?

Matylda Getter died in 1968.


When was Tamar Getter born?

Tamar Getter was born in 1953.


When was The Go-getter created?

The Go-getter was created in 1931-03.


When was Getter Jaani born?

Getter Jaani was born on February 3, 1993.


When was The Go-Getter - film - created?

The Go-Getter - film - was created in 2007.


When was The Scarlett Getter created?

The Scarlett Getter was created on 2011-11-27.


How old is Getter Jaani?

Getter Jaani was born on February 3, 1993.