import java.io.*;
import java.util.*;
class Fre_count
{
public static void main(String[] args) throws IOException
{
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
System.out.println("enter a string");
String a=new String(b.readLine());
System.out.println("enter the word you want to find the count");
String c=new String(b.readLine());
StringTokenizer s=new StringTokenizer(a);
int i=s.countTokens();
int k=0,j=0;
String tok[]=new String[i];
while(s.hasMoreTokens())
{
tok[j++]=s.nextToken();
}
for(j=0;j<tok.length;j++)
{
if(c.equals(tok[j]))
k++;
}
System.out.println("frequency count of "+c+" is "+k);
}
}
The most common method to Hide your IP address is to use a PROXY server. Proxy server is a computer network service that provides an indirect connections between other computer networks. By using this proxy sites we can access any website with out revealing our IP address. This is the best method to keep your IP address secure. Here is the free proxy server website link. http://www.freeproxyserver.ca/ We need to type the URL of such as (www.facebook.com) in the box given in the site, then we can browse it with out providing our IP address
Comments
Post a Comment