Can there be an abstract class with no abstract methods in it?
Answer / pankaj kumar
Yes,If A class have an abstract method the class must be declared as abstract, but if a class is declared as abstract
then,this is not mandatory that class hold any abstract method.
exa :
1. public Abstract class a{
// instance method;
}
///Above declaration is right
2. public class a{
// instance method;
// abstract method; //then you must declare this class as abstract.
}
///Above declaration is right
| Is This Answer Correct ? | 13 Yes | 2 No |
Why synchronization is important?
How you can create a radio buttion using Checkbox class?
What is increment in java?
What are access specifiers in java ?
0 Answers Akamai Technologies,
Can a class extend more than one class?
What are the differences between this and super keyword?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
why we r not use pointers in corejava?
How are Java source code files named?
What is string builder?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
How many types of methods are there?