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

interface can use public and default.and
abstract classes can use all of them including private.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a source file contain more than one class declaration?

510


How to create a base64 decoder in java8?

554


What is boolean data type in java?

565


What is public static?

497


What will happen if static modifier is removed from the signature of the main method?

523






What are bind parameters?

545


what is meant by encapsulation?

623


Can we use both this () and super () in a constructor?

546


What is bubble sorting in java?

591


what is the difference between yielding and sleeping? : Java thread

523


Which number is denoted by leading zero in java?

803


What is flag in python?

551


how does multithreading take place on a computer with a single cpu? : Java thread

688


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

1367


How will you compute size of a structure?

580