Advertisements
Advertisements
प्रश्न
A method cannot be defined without parameters.
विकल्प
True
False
MCQ
सत्य या असत्य
उत्तर
This statement is False.
Explanation:
In Java, a method can be declared without any parameters. These methods are known as parameterless methods because they can still conduct actions even when no arguments are passed to them.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?