.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson

Home >> Code Snippets >> OOPS >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Simple Overloading Concept

Posted By:NATHAN ISRAEL       Posted Date: September 21, 2012    Points: 40    Category: OOPS    URL: http://www.dotnetspark.com  

Simple Overloading Concept Using OOPS

class Poly
    int volume(int s)

    double volume(double r,int h)
class Method_Overloading
        public static void main(String args[])
        Poly po = new Poly();
        System.out.println("Method Overloading");


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend