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. why have you change first name oak to java ?
View Tutorial          By: manohar patil at 2014-08-20 03:44:23

2. thanks for to solve my doubts
View Tutorial          By: puttaswamy B S at 2010-09-28 00:45:47

3. Hi,

I think this is not a correct d

View Tutorial          By: Dinesh Chopra dc at 2013-03-19 04:30:48

4. oh tnx a lot!i'v been lookin for a code like this!
View Tutorial          By: LES at 2012-01-13 12:55:09

5. pritnt
1 2 3 4 5

View Tutorial          By: osama at 2013-02-05 03:16:15

6. grt tutorial
View Tutorial          By: sss at 2009-08-30 03:33:13

7. Thanks!
View Tutorial          By: misterTi at 2015-03-18 17:48:41

8. sir how can i access url in one click
View Tutorial          By: mohit at 2010-05-28 23:10:23

9. its great!!!!
View Tutorial          By: safrgdg at 2015-02-12 10:10:07

10. Its working Great.
Here i want to ask one

View Tutorial          By: Manish at 2015-03-18 11:55:20