Tag: testing
Questions Related to testing
Howmany types of data-driven tests are there?
An anonnymous inner class have a constructor(but not parameterized one).
Local inner classes cannot access the local data members of the method in which they are defined.
Which of the following two functions will be invoked when the function call given is---- show(10,10);
What is the output???
float a =10.0;
float b = 2.5;
float c = a/b;
System.out.println(c);
What is the output??
interface My {
int x=10;
}
class Test implements My {
public static void main(String[] s) {
System.out.println(My.x);
System.out.println(x);
x=x+10;
System.out.println(x);
}
};