The statement given below is termed as:

ICSE Class 10 Computer Applications PYQ · 2025 Improvement · Section A

1(xii)1 Mark · 2025 · Section A · 2025 Improvement

The statement given below is termed as:

public void Accept(int a)

Show SolutionHide Solution↓

Method prototype

Reason — In Java, a method prototype specifies the method’s access specifier, return type, name, and parameter list without including its body. The statement public void Accept(int a) shows these elements but does not contain a method body, so it is a method prototype.

← Previous questionNext question →

Browse the free Computer Applications sample bank