Computer Applications
Give the prototype of a function check which receives a character ch and an integer n and returns true or false.
User Defined Methods
ICSE 2010
23 Likes
Answer
boolean check(char ch, int n)
Answered By
15 Likes
Related Questions
Assertion (A): Static method can access static and instance variables.
Reason (R): Static variable can be accessed only by static method.
- Assertion and Reason both are correct.
- Assertion is true and Reason is false.
- Assertion is false and Reason is true.
- Assertion and Reason both are false.
Method which reverses a given number is:
- Impure method
- Pure method
- Constructor
- Destructor