Retaking a Class in College

<p>So, I'm taking some courses at a community college right now through dual enrollment...and I think I'm not going to do well, but I'm still going to pass (B or C). If I decide to retake the class wherever I go, if I do better, will that new grade replace my current one?</p>