why property 'get'/'set' method can't override independ #7412
Answered
by
TahirAhmadov
WhiteSmoogy
asked this question in
General
-
abstract class Cplusplus
{
public abstract int Version {get;}
}
class CSharp :Cplusplus
{
public int Version {override get;set;}
} compier error: but public interface Java
{
int Version {get;}
}
class JavaScript :Java
{
public int Version {get;set;}
} compiled success. |
Beta Was this translation helpful? Give feedback.
Answered by
TahirAhmadov
Aug 2, 2023
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WhiteSmoogy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#1568