Can we have a abstract class withought any method? What is a
purspose of this?

Answer Posted / sneha

Ya we can have an abstract class withought any method...It helps to prevent it from being instantiated...

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the font and fontmetrics classes in java programming?

494


How to perform quicksort in java?

560


When to use runnable interface vs thread class in java?

514


What is mnemonic in assembly language?

548


Why to use nested classes in java?

583






How do you remove duplicates from an array in java?

524


Can we make the abstract methods static in java?

582


What is the meaning of flag day?

534


What is get () in java?

562


Write a java program that prints all the values given at command-line.

546


What are passing parameters?

583


What happens when you add a double value to a string?

538


What is the role of the java.rmi.naming class?

517


What is difference between stringbuffer and string?

488


What is hashmap and map?

548