New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Are set and get the only accessors we can use?
c#
properties
3 Votes
1 Answer
29th Jul 2016, 7:52 PM
Daniel Hildreth
Fill in the blanks to define valid get and set accessors for the age member:
c#
5 Votes
3 Answers
6th Feb 2018, 3:44 PM
Mesut Alcicek
Please, someone can give me a full explanation for accessors in OOP ?
cpp
3 Votes
2 Answers
3rd Oct 2017, 10:18 PM
Med Arezki
When we call the accessor method with the
accessors
ruby
2 Votes
2 Answers
20th Feb 2017, 7:01 AM
stephen haokip
Are there only two accessors for one property (get and set) in C#? How about in C++ or Java?
c#
c++
java
oop
properties
1 Vote
2 Answers
21st Dec 2017, 5:37 PM
Bo Yang
Plis help.
accessors
ruby
1 Vote
2 Answers
3rd Feb 2017, 7:55 PM
stephen haokip
C# protected property, setter and getter
accessors
c#
protected
1 Vote
5 Answers
13th Mar 2024, 6:31 AM
Wong Hei Ming
Is it possible to extend accessor methods to include validation routines?
accessors
ruby
0 Votes
1 Answer
2nd Jul 2017, 2:53 PM
William Moonga
Why is the get accessor comming first?
accessors
c#
get
set
1 Vote
2 Answers
30th Jan 2019, 4:15 PM
Mike Willems
C# Accessor "get" not working in Code Coach.
accessors
c#
codeplayground
error
get
glitch
properties
2 Votes
7 Answers
17th Nov 2022, 5:50 PM
Sierra Mulligan
How is the variable private here since we used it in a public property using accessor?
accessor
accessors
c
c#
classes
programming
properties
property
0 Votes
1 Answer
2nd Oct 2020, 8:49 AM
Rohan Agarwal
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Bash
0 Votes
Python comparison question - HELP!!
0 Votes
Why exception is not handled
1 Votes
Please help
0 Votes
Links of cmy codes
5 Votes
Tips for first app
1 Votes
Link
6 Votes
post incrementing and decrementing
0 Votes
What's the problem in the code.why it showing failed to fetch.tried all ways.please help.
0 Votes
Ruby
2 Votes