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. the thirst of knowledge getting quenched..
View Tutorial          By: Mohnish Vidyarthi at 2013-10-04 18:12:29

2. sir , i'm doing BCA . I want to learn more about
View Tutorial          By: gayatri patil at 2012-08-18 10:08:32

3. when i copy paste your program or source code

View Tutorial          By: Zordan at 2011-03-17 04:28:08

4. Respected Sir:
i am murugan any java real

View Tutorial          By: murugan at 2012-04-12 05:15:16

5. Dear Gurus, I have arrived at your site lloking f
View Tutorial          By: Fred Mah at 2012-09-22 07:40:27

6. its working... thanks.. thank you very much...!!!!
View Tutorial          By: Viswanathan at 2008-08-18 06:54:09

7. very cool you said it! many thanks it's really coo
View Tutorial          By: ArAsh at 2008-12-11 06:41:13

8. to get out of time out at step 2 error i used to
View Tutorial          By: Niluk at 2014-06-04 05:58:03

9. could you guys maybe give an example using a 3 dim
View Tutorial          By: Steve at 2011-06-08 12:14:13

10. it doesn't count for the values like 001 or 02 et
View Tutorial          By: angesh at 2012-02-10 16:15:02