Which programming language is this?
@dataclass
class Point:
x: int
y: int
Answer: Python
The @dataclass decorator with type-annotated fields is Python.
Play Programming Languages ▸
@dataclass
class Point:
x: int
y: int
Answer: Python