Skip to main content

Featured

Game Development Tutorials In Android

Game Development Tutorials In Android Hi Guys,                 We are shortly started Game Development Tutorials in Android Studio. So everyone supports me and share this blogs to your friends. Guys, At this time everyone is freely available to source code and we are provide a video for step by step game developments. you are learn free and feel free to support us. Guys, if you have any question to me, so feel free to comment us. I will try to answer all the question as long as possible.                                                     Thank's                                                                          ...

Overloading Example Program In Java Programming Language

Overloading Ex. Program In Java Programming Language

In this example, we will discuss an important program in Java Programming Language,  Overloading is another important part of java. Today's I show you where to use this program in Java.

So, Before we are going to developed Overloading program in java, just click on the advertisement , available on this page.

Now Let's Start : 

                                                 "Overloadtest.java"

public class Overloadtest
{
public void area(int a, int b)
{
int area=a*b;
System.out.println(area);
}
public void area(double r)
{
double area=Math.PI*r*r;
return area;
}
public static void main(String arg[])
Overloadtest ob=new Overloadtest();
ob.area(5,6);
System.out.println(ob.area(5.2));
}

Compile And Run on this Program for Better Understanding.

If this information is important to you , and you want to , I will continue writing some more details of Java, Android Programming Language, so click on the advertising, available on this page. This is motivate me for writing some more useful stuff, Thank's 

Comments