Basic Java question?

Posted by LAT on Stack Overflow See other posts from Stack Overflow or by LAT
Published on 2010-04-12T13:08:19Z Indexed on 2010/04/12 13:12 UTC
Read the original article Hit count: 129

Filed under:

Hi

I am quite new to programming, i have a question please help me. ( this question is java question but i can't remember the syntax but what i write here is mostly it.)

A class Person speaks i am a person
A class Student speaks i am a student
Student extends from Person
Person p = new Student

then what is p speaking then?

© Stack Overflow or respective owner

Related posts about java