Jump to ContentJump to Main Navigation
Applied Computational Physics$
Users without a subscription are not able to see the full content.

Joseph F. Boudreau and Eric. S. Swanson

Print publication date: 2017

Print ISBN-13: 9780198708636

Published to Oxford Scholarship Online: February 2018

DOI: 10.1093/oso/9780198708636.001.0001

Show Summary Details
Page of

PRINTED FROM OXFORD SCHOLARSHIP ONLINE (oxford.universitypressscholarship.com). (c) Copyright Oxford University Press, 2020. All Rights Reserved. An individual user may print out a PDF of a single chapter of a monograph in OSO for personal use. date: 05 December 2020



(p.402) 12 Polymorphism
Applied Computational Physics

Joseph F. Boudreau

Eric S. Swanson

Oxford University Press

Polymorphism is a programming style that is supported by C++ and other languages which allows objects of different classes to be treated in a common way and permits high level abstractions for C++ functions. With proper use, polymorphism can become the basis of robust, flexible code that anticipates future extensions without requiring modification to an existing code base. It underpins a programming style called object-oriented programming, which can be used to manage the complexity of a computing project, and which must be fully understood to function in a modern programming environment. The nuts-and-bolts of polymorphism and object-oriented programming, such as inheritance and virtual functions, are discussed and illustrated with examples from numerical programming.

Keywords:   polymorphism, inheritance, virtual function, object-oriented programming. C++

Oxford Scholarship Online requires a subscription or purchase to access the full text of books within the service. Public users can however freely search the site and view the abstracts and keywords for each book and chapter.

Please, subscribe or login to access full text content.

If you think you should have access to this title, please contact your librarian.

To troubleshoot, please check our FAQs , and if you can't find the answer there, please contact us .