Hi i have recently encountered a weird return statement in this piece of sample code where ClassA is an abstract class.
public ClassA getClassA()
{
ClassA A = new ClassB("some value");
return (A);
}
why is there a bracket around the A variable? Does it signify anything?