Menu
Question Index
...

Write a program to multiply two numbers.



class MultiplyNumbers
{
    public static void main(String s[])
    {
        System.out.println("Multiplication of 5 and 7 is " + multiply(5,7));

    }


    public static int multiply(int a, int b)
    {
        int result = 0;
        return result;
    }

}

Doubts

Problems

Topic: Basic Arithmetic Operators In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App