Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
How do getters and setters protect the data of a java class?
bean
classes
getter
setter
0 Votos
3 Respuestas
5th Apr 2018, 5:38 PM
knave
How to implement a pointer array in setters y getters C++
arrays
c
c++
pointers
0 Votos
1 Respuesta
18th Mar 2019, 6:39 AM
Eduardo Perez Regin
Can someone please explain and give an example of getters and setters in c
c
examples
input
output
0 Votos
7 Respuestas
27th Sep 2021, 6:46 PM
mj Paull
I need help with this code... Trying to get the area of a rectangle but i dont seem to get it. Need someone to put me tru
getters
2 Votos
2 Respuestas
20th Aug 2017, 11:49 AM
Komolafe Oluseyi Ephraim
Is it necessary that we use setters and getters whenever we use constructors?
constructors
2 Votos
1 Respuesta
1st Jan 2019, 1:27 PM
Mohammed Naheen
Aun no entiendo sobre los setters y getters y para que sirven
constructors
getters
setters
0 Votos
1 Respuesta
28th Jun 2020, 2:39 AM
Max--
Are getters and setters inbuilt functions in java or are they user defined??
functions
getters
java
programming
setters
1 Voto
2 Respuestas
24th Jul 2020, 11:46 AM
Ayushi Saxena
Why do we need Setters and getters when we can use "=" and "return"?
gets
java
sets
1 Voto
3 Respuestas
20th Nov 2019, 6:23 AM
Little Light 🕯️
I need someone to explain to me the point of getters and setters
c#
2 Votos
2 Respuestas
26th Oct 2017, 6:50 PM
kenneth Stanley
What is the point of Getters and Setters? What do they do?
properties
swift
0 Votos
2 Respuestas
17th Aug 2016, 6:15 PM
Ilana
Guys can someone pliz clearly explain to me Getters and Setters in Kotlin
kotlin
0 Votos
1 Respuesta
13th Aug 2022, 8:26 AM
Ayebazibwe Morris
Can any one explain me about getters and setters in detail with example
classes
java
objects
0 Votos
3 Respuestas
3rd Dec 2016, 8:33 AM
CHUNDURU B M SIVA NAGA SAI
Can someone tell me what's wrong with this code it's showing error for getters and setters
getters
java
setters
2 Votos
5 Respuestas
10th Apr 2018, 8:40 AM
Devansh Gupta
Why we use private over public,it can also be acces with setters ang getters
acces
also
be
can
over
private
public,it
setters
use
whywe
with
0 Votos
1 Respuesta
16th Nov 2021, 7:27 PM
swamy
What happens when the variable has got first letter in capitals before using it with getters and setters?
getters
java
setters
2 Votos
2 Respuestas
30th Nov 2016, 10:05 AM
Tushar Anand
if we have getters and setters for data members in our classes then what's the point in making those data members as private?
class
gettersetter
java
method
oops
0 Votos
8 Respuestas
12th May 2020, 1:52 PM
VIJAY MOURYA
What is importance of the setter ang getter.
getters
importance
setters
0 Votos
4 Respuestas
18th Sep 2020, 10:32 AM
Dennis Albonia
What is getname setname? In c++
c++
class
getters
setters
6 Votos
2 Respuestas
22nd Feb 2018, 9:32 AM
Jay Jay
Error in my code: String cannot be converted to int / String cannot be converted to double
attributes
getters
setters
0 Votos
4 Respuestas
22nd Dec 2017, 10:10 PM
ota.234
Setter and getter
constructors
getters
sets
0 Votos
2 Respuestas
28th Mar 2018, 12:34 AM
Alex Mendoza
Reverse of general getter and setter statements.
and
classes
getters
setters
0 Votos
8 Respuestas
21st Dec 2019, 5:06 PM
Santosh Pattnaik
Can anyone please explain how actually Getter and Setter works?
getters
java
setters
1 Voto
3 Respuestas
16th Nov 2016, 3:23 AM
Dharani Kumar
why the i m getting the error
getters
java
setters
static
2 Votos
9 Respuestas
2nd Apr 2017, 6:00 AM
shobhit
can someone please explain the use of "this" i've been seeing it a lot in getters and setters but its not fully clicking with me
classes
getters
java
setters
1 Voto
2 Respuestas
24th Nov 2021, 4:44 AM
Warlock Kadash
Que utilidad tiene set y get en java?
getters
java
setters
0 Votos
1 Respuesta
25th Oct 2017, 3:58 PM
Goib
Why we use g1.getColor(String c) instead of using g1.color directly?
classes
get
getters
java
1 Voto
4 Respuestas
9th Dec 2016, 2:35 PM
Deep chand
Another Java question: naming the "Getters and Setters," as SL called them.
classes
getters
java
setters
-1 Voto
5 Respuestas
6th Nov 2017, 4:50 PM
Michael
Need extra information about getters, setters and constructors
classes
constructors
getters
setters
1 Voto
2 Respuestas
21st Nov 2018, 11:57 AM
David Feliers
Y would i want to use getters and setters when i can assign the value of a property from inside the main class?
java
0 Votos
1 Respuesta
13th Jun 2017, 4:55 AM
suryapoojary
Getting an array of strings from another class?
classes
getters
java
javafx
1 Voto
2 Respuestas
26th May 2020, 3:57 PM
Stephen
why i m getting w. getA() as 200 if static attributes belong to class then the outcome must be something else.
constructor
getters
java
setters
static
2 Votos
2 Respuestas
28th Mar 2017, 12:35 PM
shobhit
I can't understand the use of getter and setters?
access
classes
encapsulation
getters
java
private
public
setters
7 Votos
5 Respuestas
3rd Sep 2017, 5:20 AM
Vaibhav Singh Sikarwar
Is we can use our own method for getting and setting private attributes or methods
classes
encapsulation
getters
java
objects
private
setters
2 Votos
2 Respuestas
13th Jul 2020, 3:12 AM
Akash Sharma
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
2
Siguiente >
En tendencia hoy
Hey I've done the C# and SQL beginner and intermediate, but still feel like there could be more... Is there advanced somewhere?
0 Votes
How to do a responsive page?
1 Votes
Running a python code
2 Votes
Can I make coding projects here and run them without sololearn pro, only in sololearn.
0 Votes
How create a new language ?
0 Votes
Is there any debugging practice here or not?
1 Votes
Hola
0 Votes
Ai in future
1 Votes
How To Enable Disable Divs?
0 Votes
Beginner question
0 Votes