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
- 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. Awesome code workings fro me thank you so much :)
View Tutorial By: Shripad at 2012-01-24 08:58:03
2. Great stuff, learned more from this example than r
View Tutorial By: David Bandelin at 2011-03-22 07:10:38
3. "Type safety: The method add(Object) belongs
View Tutorial By: WalterB Ntuli at 2010-04-09 01:51:17
4. Which one is the inbuilt Abstract class in java
View Tutorial By: vikas jain at 2013-04-16 07:25:33
5. You explained the this Keyword very well.
&
View Tutorial By: Karan at 2012-12-04 11:27:35
6. what if i use multiple switch statement, is it wor
View Tutorial By: earl at 2012-01-29 04:10:25
7. hi ... i want to receive SMS on the com port ... b
View Tutorial By: Ahsan at 2010-02-16 19:49:26
8. Hi!
this morning when i tried to logon a pr
View Tutorial By: Lukas at 2013-03-03 13:35:42
9. thank you sir, please provide me string array in d
View Tutorial By: ravi gupta at 2012-01-17 17:04:33
10. i din understand
View Tutorial By: panda at 2011-07-14 09:35:36