Re: Abstract classes in java
Tuesday, December 17, 2013 09:09 PM
Abstract Class -
If we don't want to create an object of the class then we should declear class as abstract
abstract class contain abstract method, concrete method or both its depend our requirement .
Example- Adapter class because adapter class contain only empty emplementation of method so if we are create an object of that class and call this method then their is no use so its better to make a class as abstract.
Thursday, June 14, 2007 04:16 PM
Question:Can we Store the primitive data type values into Collection classes.