There can be a abstract class without abstract methods, but
what is the need to declare a class abstract if it doesn't
contain abstract methods?
Answer Posted / srinidhi a.p
Abstract classes are a type of helper classes. i.e., they
help some other class to complete its job.
So, if there is no methods specified, then the instance or
static variables can serve something for other class which
extends it.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the length of a string?
How do you identify if jvm is 32-bit or 64-bit from java program?
java program with complete 4 oops concepts implemented example
What are latest features introduced with java 8?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is use of map in java?
How does multithreading take place on a computer with a single cpu in java programming?
What is the use of conditional statement?
What is the default value of an object reference declared as an instance variable?
What technique can be employed to compare two strings?
What is a stringbuilder?
What is hashtable and explain features of hashtable?
Will set allow duplicates in java?
Give a practical example of singleton class usage?
Can you tell me range of byte?