Computer Science, asked by JoyeetaDas, 8 months ago

Name the keyword which:makes the variable as a class variable.static​

Answers

Answered by bhumikachaudhari224
2

Answer:

Static variable Syntax

static keyword followed by data type, followed by variable name. static data_type variable_name; As I mentioned above that the static variables are shared among all the instances of the class, they are useful when we need to do memory management.

Explanation:

hope it helps you mate have a good day ❤️ ✌️

Answered by kripamehndiratta
0

Explanation:

In C++ and Java, we can use static keyword to make a variable as class variable. The variables which don't have preceding static keyword are instance variables.

Hope this answer helps you

Hope this answer helps you Have a nice day

Similar questions