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

interface can be only public or default and abstract class
should be public protected

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is externalizable interface?

584


What is bufferedwriter?

542


How many bytes are there?

544


What's the difference between comparison done by equals method and == operator?

548


What is the base class of all exception classes?

588






What is meant by class and object in java?

557


Explain what is Marker interface?

620


What is the requirement of thread in java?

626


What is a file pointer?

516


Write a program to show whether a graph is a tree or not using adjacency matrix.

598


What is function and its uses?

571


Why does java have different data types for integers and floating-point values?

538


What is the use of parseint in java?

539


List the three steps for creating an object for a class?

517


What is a generic code?

528