Comment on Tutorial - Abstract classes in Java By Kamini



Comment Added by : Anil Chalhotra

Comment Added at : 2013-02-16 08:04:03

Comment on Tutorial : Abstract classes in Java By Kamini
hi What is the meaning of this line ,
you cannot declare abstract constructors, or abstract static methods.
---------------------
in ur example u have taken a constructor

abstract class Figure {
double dim1;
double dim2;
Figure(double a, double b) {
dim1 = a;
dim2 = b;
}
// area is now an abstract method
abstract double area();
}
------------

can we take a constructor in abstract class


View Tutorial



Ask a Question

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 textarea value(finalresult) i want save in Tre
View Tutorial          By: anbalagan.s at 2007-10-17 05:10:19

2. hayz.
it soo hard to program,
but be

View Tutorial          By: bamz at 2008-09-22 20:31:23

3. Hi , it was nice tutorial to understand the differ
View Tutorial          By: jagan at 2014-06-05 05:13:59

4. today Iam getting time ,date of sending and "
View Tutorial          By: raghu at 2012-01-07 14:43:32

5. i tried, the coding dont hv any errors but its not
View Tutorial          By: anna at 2010-11-02 21:56:27

6. Hi , This SMS code is running fine, but the major
View Tutorial          By: VageR at 2008-09-02 06:33:59

7. Wow NIce
View Tutorial          By: Zahid ALi at 2015-01-16 22:35:45

8. that's what I've been looking for!!!!!!!!!!!!!!!!!
View Tutorial          By: bibi at 2014-12-28 20:43:56

9. hi,
thier is an error coming with me when i

View Tutorial          By: Tarun at 2013-02-17 03:13:21

10. Hy plz help me for also draw to flowchart.........
View Tutorial          By: khadija at 2010-11-13 11:38:31