Can't u just use one label keyword of the specifiers and simply list the attributes?

Like in C++ private: int age; string name; double height;

9/21/2019 11:10:46 AM

Programador Autodidacta

2 Answers

New Answer


In Java nope, that's the way language designer wanted the things to be


Lazy me will just copy and paste if I'm to list more than ten attributes!