Write a java program : Define a class measures to convert from one measure to another. A user enters the value to any private data member like g,kg,l,ml,m,km as per their choice of conversion. Create a method convert() that accepts value and choice at run time and convert the measure accordingly.
Answers
Answered by
0
Answer:
public class Main {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
Similar questions