English

Write a method prototype of the following: A method PosChar which takes a string argument and a character argument and returns an integer value. - Computer Applications

Advertisements
Advertisements

Question

Write a method prototype of the following: 

A method PosChar which takes a string argument and a character argument and returns an integer value.

One Line Answer

Solution

public int PostChar(String st, char chr) 

shaalaa.com
  Is there an error in this question or solution?
Chapter 5: User - Defined Methods - Review Insight [Page 334]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 5 User - Defined Methods
Review Insight | Q 12. | Page 334
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×