Alongbar Daimary
Alongbar Daimary answered
Extranet: It is a private network that uses internet protocols,network connectivity, and possibly the public telecommunication system to  securely share part of an organization's information or operations with  suppliers, vendors, partners, customers or other businesses. An  extranet can be viewed as part of a company's Intranet that is extended to users outside the company, usually … Read more
Alongbar Daimary
Alongbar Daimary answered question
It was better if you had mentioned Language name. At VB.net structure Student{     Dim ID as Integer     Dim Name as string     Dim Nationality as String     Dim Gender as String } sub main()     Dim STDs(20) as Student         STD(0).ID=1001     STD(0).Name="Mr. XXXXX"     STD(1).ID=1001     STD(1).Name="Mr. XXXXX" End sub  At C#  public struct Student{     public int ID;     public string Name; … Read more
Alongbar Daimary
Alongbar Daimary answered
An Exception is an abnormal situation that is created or caused because of runtime error.  If the exception is not handled or caught properly , the Interpreters will display an error message or will terminate the program unexpectedly. This situation can be handled using try... Catch and alternate necessary action can be taken.  Exception HandlingRead more
Alongbar Daimary
Alongbar Daimary answered
New Operator is used to create an instance of an object.  It is also used to create an Instance of a class. And if a class contains constructors, they are called by New operator at the time of its object creation.  Example1:  ArrayList lst = new ArrayList();  This statement is used to create a new … Read more
Alongbar Daimary
Alongbar Daimary answered question
Oh!!! The basic Difference between for and while loop is: When we are using for loop it is required to know that how many times we need to repeat. But in case of while loop it is not so. Example: For(int I=1 ;I<=10;I++) // here we already know that the loop will continue 10 times. … Read more
Alongbar Daimary
Alongbar Daimary answered
//Program  Style 1  class Triangle{ public static void main(String[]ar){ int Limit=20; int Prn=1; for(int I=1;I<=Limit;I++){ for(int j=1;j<=I;j++){ if (Prn==Limit) return; System.out.print("t" + Prn); Prn++; } System.out.print("n"); } } }  //Program Style 2  class Triangle{ public static void main(String[]ar){ int Limit=10; for(int I=1;I<=Limit;I++){ for(int j=1;j<=I;j++){ System.out.print("t" + I); } System.out.print("n"); } } }
Alongbar Daimary
Alongbar Daimary answered
Oh!! Actually Virus is just a Computer Programming that can spread (Replicate) throughout networks of computers. It is programmed in a such a way that it is executed automatically with other programs that is available at out machine.
Alongbar Daimary
Alongbar Daimary answered
//Here is yout Program. But I've not Copiled it . Just see the logic class prime{ public static void main(String[]ar){ System.out.println("Prime Numbers are:"); int res=0; for(I=1;I<=100;I++) {   res= PrintPrime(I);   if (res>0)         System.out.print("t"+res); } } int PrintPrime(int number){ for(int I=2;I<number;I++){     if(number%I==0){         prime=false;     … Read more
Alongbar Daimary
Alongbar Daimary answered question
//Hi friend Here is Your Program. But Please Re compile it I've not compiled it Directly wrote Here. Import java.io.DataInputStream; class Prime{ public static void main(String[]ar){ int I=1,num=0; DataInputStream this=new DataInutStream(System.in); boolean Success=false; System.out.println("Enter Any number:"); while(!Success){   try{   num=Integer.valueOf(this.readLine());   Success=true;    }   catch(Exception E){   System.out.println(E +"nReEnter Number"); } } calc … Read more