Comment on Tutorial - Method Overriding in Java By Henry



Comment Added by : Umapathi REddy

Comment Added at : 2012-05-23 09:54:29

Comment on Tutorial : Method Overriding in Java By Henry
class Abc
{
public void display()
{
System.out.println("hai");
}
class Bca extends Abc
{
public void display()
{
System.out.println("hello");
}
}
public static void main(String[] args)
{
Bca obj =new Bca();
obj.display();
}
}
//it shows error can explain


View Tutorial



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

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions 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

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Very good example .!
Ty

View Tutorial          By: Mprogrammer at 2014-11-25 12:10:21

2. Nice Intro to start J2Me
View Tutorial          By: Mak at 2009-07-04 10:36:00

3. How to download a pdf file from the server and sav
View Tutorial          By: harsha at 2013-08-12 07:52:22

4. sir... i made a program just like that ... but the
View Tutorial          By: David at 2010-07-08 03:34:13

5. Very helpful.
View Tutorial          By: Krishna at 2012-06-14 10:25:00

6. Hai people plz help it's urgent, i got no errors i
View Tutorial          By: Hopewell at 2011-10-13 22:57:45

7. please send basic sample programs & explanatio
View Tutorial          By: rose at 2013-01-16 04:43:38

8. good. keep it up !
View Tutorial          By: hashu at 2011-06-21 01:49:59

9. Good Artical - Vagha
View Tutorial          By: Bharat at 2010-07-20 23:19:19

10. It is working. Thank u dear!!!
View Tutorial          By: Ashwani Rana at 2009-04-02 03:56:17