What is the output of the below Java program with
an Interface?
interface Car
{
int basePrice=1000;
}
public class InterfaceTest2 implements Car
{
void change Price()
{
base Price = 2000;
System.out.print(basePrice);
}
public static void main(String[] args)
{
new InterfaceTest2().changePrice();
}
Answers
Answered by
0
Answer:
ok this high all el will do cm you dfjfsfjj FD ssfhhhbcfdf
Similar questions