Search engines use indexes created by web crawlers to provide fast searches.
Answer:
A peer-to-peer network is one in which two or more PCs share files and access to devices such as printers without requiring a separate server computer or server software. ... A P2P network can be an ad hoc connection—a couple of computers connected via a Universal Serial Bus to transfer files.
Answer:
The correct answer for the given question is "The program has a runtime NullPointerException because test is null while executing test.x"
Explanation:
In this code their is run time exception will occur in Main method i.e "java.lang.NullPointerException "because the object of the Test class i.e test will initialized by "null" .So on executing the statement test.x it gives an Runtime Exception.The "NullPointerException" can occur if we assign the object to the "null" value that why it produce an java.lang.NullPointerException
Answer:
#include<iostream>
#include<iomanip>
using namespacestd;
int main ()
{
int x1[3][3]={1,2,3,4,5,6,7,8,9};
int x2[3][3];
int i,j;
for(i=0;i<3;i++)
for(j=0;j<3;j++)
x2[i][j] = x1[i][j];
cout<<"copy from x1 to x2 , x2 is :";
for(i=0;i<3;i++)
for(j=0;j<3;j++)
cout<<x2[i][j]<<" ";
cout<<endl;
system("pause");
return 0;
}
/* Sample output
copy from x1 to x2 , x2 is :1 2 3 4 5 6 7 8 9
Press any key to continue . . .
*/
Explanation: