What will be the output?
public class Tester {
public void demomethod() {
int varOne=1000;
float varTwo=20.00f;
double varThree=0.0;
varThree=(double)(varTwo+varOne*(7.0/100));
System.out.prinltn("varThree:"+varThree");
}
public static void main(String args[])
{
Tester tester=new tester();
Tester.demoMethod();
}
}


Posted on by