Class is more about a person�s socio-economic principles and status rather than wealth and education, although these both play a part. You can have very wealthy people who are inherently working class, and you can also have no hopers with no money who would still be deemed upper class.
Many define class based on family background and socio-political or cultural interests, whilst others define it by the job they do (blue collar, white collar professional etc) or the education they have (post secondary etc).
Karl Marx defined the working class as those individuals who sell their labour power for wages and do not own the means of production, and he believed them responsible for creating the wealth of a society. He also argued that middle class does not exist.
I am not convinced that a persons morals play any part in their class. Generally someone is born into their class and although they can rise in their own status, it usually takes many generations passing to truly emerge into a different class. Those that are born to the purple usually have a long family history with roots back to working class.