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



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. Hi,
I done very simple, just copy the strut

View Tutorial          By: sridhar at 2009-03-01 19:17:10

2. can you clearly reveal how to create crystal repor
View Tutorial          By: halim at 2011-07-02 00:28:48

3. what about object bean with view scope ??
View Tutorial          By: abdelaziz akharraz at 2012-10-09 15:06:52

4. hi I am getting error while running this program a
View Tutorial          By: sampada at 2012-04-18 07:45:19

5. i searched a lot of sites but found the answer her
View Tutorial          By: ALIEN ATTACK at 2012-01-09 09:39:36

6. be very careful. use of put (or any method inheri
View Tutorial          By: d at 2009-10-14 09:55:23

7. guys i am getting this error..plz tell me the solu
View Tutorial          By: Ajit at 2010-06-17 07:38:51

8. I dont want my client using my application to do a
View Tutorial          By: zaffa at 2011-07-27 06:52:09

9. good explanation
View Tutorial          By: Vishu Sharma at 2013-03-13 13:57:11

10. Hi! Ramlak It Working But Sms didnot send why? and
View Tutorial          By: balaji at 2008-01-28 02:41:47