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

Answer Posted / rashid

Abstract class object can no be created so memory is not
allocated for abstract class (or we can say class object)
but we can still call static methods of abstract class and
those static methods can you static member objects of that
class, right?

How do they get executed without memory allocation?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between ++ I and I ++ in java?

533


What is a default method?

523


Discuss 2D arrays.

610


How can we make string upper case or lower case?

602


Can you achieve runtime polymorphism by data members?

590






What are the advantages of passing this into a method instead of the current class object itself?

1174


Should a main method be compulsorily declared in all java classes?

535


What is a parameter example?

531


When parseint method can be used?

543


What's the base class of all exception classes?

567


What does compareto () do in java?

574


How to sort an unsorted array in java?

612


Explain the selection sort algorithm and state its time complexity?

613


What is static synchronization?

577


What is the purpose of void class?

611