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. can any one plz send me the message passing codin
View Tutorial          By: sowmya at 2010-08-02 04:57:22

2. Hi, I need the complete working code for sending a
View Tutorial          By: prakash at 2010-05-24 09:14:59

3. Great Thanks
View Tutorial          By: anawaz at 2012-10-05 10:28:20

4. Really a appriciatable one. Can u plz send the cod
View Tutorial          By: Jeevan at 2009-04-11 12:39:45

5. abstract class A {
abstract void callme()

View Tutorial          By: satish at 2012-04-07 10:35:38

6. please gave us simple difference between structure
View Tutorial          By: vishal at 2011-12-18 13:33:17

7. thank u sir ,this helped a lot
************

View Tutorial          By: yugandharr at 2012-09-11 15:47:19

8. hello,thanx its really great
View Tutorial          By: sadhana at 2011-08-05 09:35:00

9. Hi.
How we can create list with menuitem in

View Tutorial          By: omid at 2008-09-08 02:09:50

10. Puedes enviarme ese codigo, ando embolatado
View Tutorial          By: Wilson at 2011-10-26 22:45:38