# How to call class functions?

**URL:** <https://forum.kirupa.com/t/how-to-call-class-functions/307911>\
**Category:** Uncategorized\
**Created:** [April 13, 2010, 10:54am UTC](https://forum.kirupa.com/t/how-to-call-class-functions/307911 "2010-04-13T10:54:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit0shakya](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amit0shakya](https://forum.kirupa.com/u/amit0shakya)\
**Post date:** [April 13, 2010, 10:54am UTC](https://forum.kirupa.com/t/how-to-call-class-functions/307911/1 "2010-04-13T10:54:01Z")

</div>

Hi i hv make 2 classes car and honda.  
in car class i hv make normal functions for cars like cost, speed etc…

from honda class i wanna call car class functions and give them values and show output

you can download the 6kb source file from here

[http://sites.google.com/site/amit0shakya/home/public-class-error-1](http://sites.google.com/site/amit0shakya/home/public-class-error-1)

thanks for help buddy  
[amit0shakya@gmail.com](mailto:amit0shakya@gmail.com)
