is memory to the abstract class allocated ..or objects not
instantiated

Answer Posted / sekhar

For abstract classes we can't create an object directly
with the help of the new operator.So memory is not allocated
for abs classes.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy initialization in java?

556


What is mean by exception?

550


What is hashmap in java?

568


Is arraylist zero based?

559


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

1937






Is an integer an object?

519


Are static members inherited to sub classes?

640


Under what conditions is an object’s finalize() method invoked by the garbage collector?

577


What is an empty string in css?

531


What is the importance of hashcode() and equals() methods?

583


Tell us something about different types of casting?

520


What is the difference between C++ and Java and your preferences?

612


What do you mean by buffering?

556


Can we override tostring method in java?

533


Say any two properties in beans?

636