class myclass
{
int x;
void method();
};
implementations in
"clase.cpp"
void myclass::method()
{
x++;
}
And then use that class in another file.
The question is:
Is it possible to do something like that in Java?
if yes.... how?
thanks,
class myclass
{
int x;
void method();
};
implementations in
"clase.cpp"
void myclass::method()
{
x++;
}
And then use that class in another file.
The question is:
Is it possible to do something like that in Java?
if yes.... how?
thanks,
Quote:Original post by Vyper_uk
You should only use interfaces and abstract classes when the situation calls for it, not in every class :)
Quote:Original post by BlackWind
i read the tutos, but i didnt understand when a situation will call for that...
can you explain it?