I am writing a lot of java now, so I am getting confused with the java static methods and c++ static functions.
in java, you can call a static methods from a class, and I frequently use/see it, for exmaple:
public class A{
public void static b(){
System.out.println("hello");
}
}
You can do, A.b();
Can you do that in C++? If so, is it not so popular as compared to doing so in java?