StackOverflow Questions for Tag: getter-setter

Erwin Müller
Erwin Müller

Reputation: 61

Java change direct field access at compile time via auto-generating Java bytecode to getter and setters

Score: -1

Views: 20

Answers: 0

Read More
Bruno Rodriguez
Bruno Rodriguez

Reputation: 5

How to set up setters and getters to pass the test cases. Ceasar Cipher type problem

Score: 0

Views: 161

Answers: 2

Read More
3monkeys1gorilla
3monkeys1gorilla

Reputation: 67

what would be the purpose of using the toString() method in the code below?

Score: 3

Views: 853

Answers: 7

Read More
shaneburgess
shaneburgess

Reputation: 15872

Java Public Var question

Score: 3

Views: 399

Answers: 5

Read More
Mohammad Esteki
Mohammad Esteki

Reputation: 1

Kotlin "Cannot set property because no setter, no wither and it’s not part of the persistence constructor" Error

Score: 0

Views: 30

Answers: 0

Read More
bolov
bolov

Reputation: 75668

How to write C++ getters and setters

Score: 72

Views: 160867

Answers: 5

Read More
Don P
Don P

Reputation: 63537

How to access a class object property? $this->$property1 gives a "Cannot access empty property" error

Score: 35

Views: 68958

Answers: 3

Read More
Mircode
Mircode

Reputation: 736

Leaky abstraction with setters and getters in js/ts

Score: 0

Views: 112

Answers: 1

Read More
Steven
Steven

Reputation: 19

How to use/keep custom setter method with MyBatis?

Score: 0

Views: 60

Answers: 0

Read More
Jim Jones
Jim Jones

Reputation: 2709

defining getters/setters in an object literal with a self-invoking function javascript

Score: 7

Views: 5856

Answers: 3

Read More
DevOps Craftsman
DevOps Craftsman

Reputation: 375

How do __slots__ really work and how can you implement your own?

Score: 1

Views: 661

Answers: 2

Read More
Augustin Ziegler
Augustin Ziegler

Reputation: 193

Powershell class implement get set property

Score: 15

Views: 15177

Answers: 4

Read More
user27252205
user27252205

Reputation: 11

pythonic way of using @property

Score: 0

Views: 73

Answers: 1

Read More
Occam
Occam

Reputation: 543

How to pass an object to a constructor where the former becomes part of the instance's data and its getters can reach class specific props and methods

Score: 1

Views: 171

Answers: 2

Read More
Lionel Rowe
Lionel Rowe

Reputation: 5926

Type-safe setter-only property in TypeScript

Score: 0

Views: 58

Answers: 2

Read More
Anant Tyagi
Anant Tyagi

Reputation: 71

Can anyone tell how can i put getter and setter on the below code, and what exactly getter and setter do

Score: -3

Views: 6991

Answers: 6

Read More
Tomas Gutierrez
Tomas Gutierrez

Reputation: 11

How to add an ArrayList in a Superclass using Getters and Setters from a subclass

Score: 1

Views: 69

Answers: 2

Read More
Marek Čačko
Marek Čačko

Reputation: 1010

Should I use public or private variables?

Score: 42

Views: 58193

Answers: 9

Read More
lorenzoid
lorenzoid

Reputation: 1832

Importing CSV data into C# classes

Score: 13

Views: 66687

Answers: 7

Read More
flawr
flawr

Reputation: 11628

Is it possible to call setter as a method?

Score: 1

Views: 978

Answers: 2

Read More
PreviousPage 1Next