Computer Science, asked by dhanya2418, 1 month ago

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 sumanpuri1988
0

Answer:

ok this high all el will do cm you dfjfsfjj FD ssfhhhbcfdf

Similar questions