A pointer is a variable that can be given memory locations as values. They're used implicitly in Java and explicitly in C/C++.
For example, in Java,
String s = new String() creates a new String...
Type: Posts; User: xbuilder
A pointer is a variable that can be given memory locations as values. They're used implicitly in Java and explicitly in C/C++.
For example, in Java,
String s = new String() creates a new String...
Would you understand a simpler example?
How about:
int main()
{
A a1(10);
return 0;
}