Comment on Tutorial - Method Overloading sample in Java By Ganesh Iyer
Comment Added by : Amujuri Vivek
Comment Added at : 2013-01-08 02:48:50
Comment on Tutorial : Method Overloading sample in Java By Ganesh Iyer
HI,
can any one tell me small but silly doubt about overloading that whether we do overloading using access specifiers.that menas see the below code:
ckass A
{
void overload()
{
System.out.println("overloading ....");
}
private void overload()
{
System.out.println("overloading......");
}
protected void overload()
{
System.out.println(Overloading....);
}
}
class test
{
Public static void main(String a[])
{
A a1=new A();
a1.overload();
}
}
Can any one tell me what is the output for this.
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Subscribe to Tutorials
Related Tutorials
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
MultiLevel Inheritance sample in Java
Archived Comments
1. Hi, If any body was able to send the message suces
View Tutorial By: Pradeep Singh Chouhan at 2011-03-02 23:03:05
2. i have same error sir..
Error applying tran
View Tutorial By: CRUDZ at 2013-10-13 05:22:24
3. How can i read PDF files from external memory(SD c
View Tutorial By: Aswanth at 2014-03-31 09:46:26
4. i am looking for the samples in java programming u
View Tutorial By: mary grace leron at 2010-02-18 01:50:50
5. Hi
Anybody plz send me the sms send
View Tutorial By: Venky at 2008-11-19 08:33:22
6. Hi
I want the java code for i
View Tutorial By: Deepak at 2015-07-29 15:07:09
7. Hi All........
People those who are ge
View Tutorial By: Abhijit at 2013-05-28 11:24:24
8. HI, like some guys in this tutorial I get this pro
View Tutorial By: omar carpio at 2009-09-06 13:17:37
9. Thanks a lot for this great post.
View Tutorial By: Ram Para at 2012-03-23 17:07:09
10. Perfectly working, and able to connect database.
View Tutorial By: satyajit at 2012-06-01 20:16:53