Computer Science, asked by viplavkant2005, 5 months ago

(b) Name the reserved word which:
(i) Indicates that a method has no return type
(ii) Marks the variable as a class variable​

Answers

Answered by Anonymous
1

Answer:

\huge \fbox \colorbox{orange}{Answer }

(I). The void keyword is used to declare that a method does not return any value.

(II). Class variables − Class variables also known as static variables are declared with the static keyword in a class, but outside a method, constructor or a block. There would only be one copy of each class variable per class, regardless of how many objects are created from it.

Similar questions