Java program for return statement on November 13, 2021 Get link Facebook X Pinterest Email Other Apps public class Program{ int display(int l, int b) { return l*b; } public static void main(String[] args) { Program e =new Program(); int area=e.display(3,5); System.out.println(area); } }OUTPUT Comments
Comments
Post a Comment