Computer Science, asked by UniquePrincess1234, 7 months ago

Write short notes on class declaration and method declaration​

Answers

Answered by junaidh47
2

Answer:

Like variable declarations, a method declaration can use access specifiers to control whether other objects and classes in your program can call your method. See Controlling Access to Members of a Class. You can also specify whether the method is an instance method or a class method

Explanation:

i think it may help you

Answered by ki245403
2

Answer:

Like variable declarations, a method declaration can use access specifiers to control whether other objects and classes in your program can call your method. See Controlling Access to Members of a Class. You can also specify whether the method is an instance method or a class method

Explanation:

hope this helps

Mark me brainliest

Similar questions