what are the different access specifiers that can be used
by interfaces and abstract classes? can anyone give me
detailed description on this

Answer Posted / lydia fernandes

Interface: Public or default
Abstract Class (Anything ) : public , private or Default

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the static field modifier?

592


When does an object becomes eligible for garbage collection in java?

573


Do I need java on my pc?

508


What are the types of java?

600


Can we have multiple catch block for a try block?

584






What is constructor chaining and how is it achieved in java?

566


What is the main use of java?

569


Why do we need wrapper class?

535


What is lambda programming?

492


What do you mean by local variable and instance variable?

508


What is reflexive association?

1003


What is parsing and its types?

583


What is the difference between static and global variables and also define what are volatile variables?

549


How use .contains in java?

617


What is included in core java?

578