The technique used to copy one array into another is same as used to copy 4 separate variable. In an array we use same type elements and fixed size collection means finite number of objects.Array elements are counted beginning with 0(zero).
Multithreading means we can divide the program into two or more subprograms. All the subprograms can be implemented at the same time in parallel.We use run() for executing the sequence of code that the thread will execute.
String is a series of characters and it can be delimited using double quotes(“”). By using character array we can represent a sequence of characters in C++. Character arrays has being able to query their length, they themselves are not good enough to support the range of operations we may like to perform on string.
Array having more than one dimensional are called multi dimensional([multiple rows][ multiple col]) arrays. An array having two dimensional is called two-dimensional([2rows][2col]) array.
The StringBuffer class is mostly used when we have to make a lot of modifications(any changes) to Strings of characters. String class does not support string mutability. That is why we use StringBuffer class.Objects of StringBuffer class can be modified a number of times.
Fibonacci series is a series of integer in which each integer is equal to the sum of the two preceding integers in the series.The series is 0,1,1,2,3,5,8………… looks like
Copy constructor is used to copy the value of one object to another object. We used the copy constructor like “ counterrr(counterrr &ob)”. We can declare and initialize an object from another object like “counterrr c2(c1)”.We create two objects that means counterrr c1 and c2 .
An array is a non-primitive data type whose members (variables)are of the same type and stored in continuous memory functions, just as one can create an array of any basic data type, one can also create arrays of objects.
Friend keyword is used for friend functions.
In C++ class has data member and member function. Data member declare private that cannot be accessed outside the class, means non-member function of class. But some time situation is arises, private data member need to access outside the class. That is done by friend function. A friend function is called non-member function, when we create friend function, we can access private member of class.
showStatus() is used to display the message in the status line.This method display a string in the status line .The status line is located at the bottom of the screen(browser or the appletviewer).