This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Pls help me to find in Sun Tutorial the explanation about like the case of class assignment such as the ff: Employee e = new Manager(); given that class Manager is a subclass of Employee class. Employee has class variable a=5,b=10 with method incr() and decr(). Manager has class variable a=10,b=20. and add'l method of maint(). ... or what really happened here?
Correct me if I'm wrong: I know that e object has a type of Employee... object e can't access maint() of Manager object e has a variable a=5 ang b=10 is this what happened? what else? what do you call these concept?