Comment on Tutorial - Abstract classes in Java By Kamini



Comment Added by : satish

Comment Added at : 2012-04-07 10:35:38

Comment on Tutorial : Abstract classes in Java By Kamini
abstract class A {
abstract void callme();

void callmetoo() {
System.out.println("This is a concrete method.");
}
}

class B extends A {
void callme() {
System.out.println("B's implementation of callme.");
}
}

class AbstractDemo {
public static void main(String args[]) {
B b = new B();

b.callme();
b.callmetoo();
}
}satish


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. this code is running successfully
View Tutorial          By: Amit Agarwal at 2013-03-08 10:56:39

2. Good.understand
View Tutorial          By: Selva at 2009-12-29 23:27:29

3. Hi,
I have problem of calling javascript fu

View Tutorial          By: Shakti Prasad Priyakumar at 2008-06-06 06:11:52

4. The example program was very easy to understand un
View Tutorial          By: vijay at 2011-12-27 07:34:35

5. hi i want to send a message from my site to a phon
View Tutorial          By: dinesh at 2009-09-16 10:25:37

6. Excellent. I want you to publish about memory allo
View Tutorial          By: Mohamed firnaz at 2011-12-07 04:54:27

7. Great guide. Missed the lecture, and this summed e
View Tutorial          By: Anonymous at 2008-12-21 19:36:19

8. The code sample in this tutorial is good. It would
View Tutorial          By: Anon at 2009-06-05 03:36:59

9. hou to cal activity of one project into another pr
View Tutorial          By: manjunath at 2012-01-02 15:45:32

10. How to run this Program?
View Tutorial          By: arwa at 2008-10-14 04:45:06