KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
C# properties (I mean get and set methods) are a very useful feature. Does java have something similar to C# properties too? I mean how we can implement something like the following C# code in java: public string Name { get { return name; } set { name = value; } }
Tags (comma-separated)
Save Edits
Cancel