Question: 1. Write the signature for a method named displayInfo that has two parameters of type String and int, and does not return a value. (Marks-1)

 1. Write the signature for a method named "displayInfo" that has

1. Write the signature for a method named "displayInfo" that has two parameters of type String and int, and does not return a value. (Marks-1) 2. Write the signature for a method named "average" that has two parameters, both of type int, and returns an int value. (Marks-1) 3. Write in full the declaration for a field of type int whose name is studentid. (Marks-1)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!