Like a class, an interface can have methods and variables, but the methods declared in interface are by default abstract (only method signature, no body).
Given an inteface in1 which includes a method display which takes an integer as input .
void display(int p);
Task is to write a class testClass which implements interface in1 and has a method named display which takes an integer as input and total number of prime numbers between 2 and integer k (including it). Main function in written for you in the editor.
The first line will contain an integer T (number of test cases). Each test case consists of an integer n.
Print total number of prime numbers between 2 and the given number ( including them ).