Which is the correct syntax for declaring static data member?
Which is the correct syntax for declaring static data member? Correct Answer static dataType memberName;
The syntax must firstly be mentioned with the keyword static. Then the data type of the member followed by the member name should be given. This is general form of declaring static data members.
মোঃ আরিফুল ইসলাম
Feb 20, 2025