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

Answers were Sorted based on User's Feedback



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

Answer / malli

Yes,we can able to keep abstract class without any any methods.

purpose: Abstract class support for all unimplemented
methods (or) all concrete methods (or) some concrete methods
and abstract methods. so based on requirement we can use
abstract class.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / 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

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

Answer / sourav kumar verma

it may or may not include abstract methods. Abstract classes
cannot be instantiated, but they can be subclassed.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is the purpose of static methods and variables?

0 Answers  


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.

0 Answers   TCS,


What is java used for?

0 Answers  


Why is stringbuffer thread safe?

0 Answers  


What is a newline character in java?

0 Answers  






if u open login & logout ,how can udisplay the timelogin & logout members ?

0 Answers   Virtusa,


WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?

2 Answers  


What is the platform?

0 Answers  


List methods available in Java Queue interface

1 Answers  


How do you create a null object?

0 Answers  


What are the access modifiers in java?

0 Answers  


1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?

3 Answers   TCS,


Categories