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 / dhiren
public accsess specifier means it can publically accessed
by the class whether it's subclass of that class or present
in same packege or diffrent classes.
private access specifier is private to that class i.e. it
cant access out side the class
procted -it's accesesed by the sub class of the ckass
whether that present in the sane package or diffrent but it
must be a subclass
noacces accessed with in the same package
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Can we create object of inner class in java?
How do you download stubs from Remote place?
What is a local, member and a class variable?
Explain about procedural programming language or structured programming language and its features?
Is singleton thread safe in java?
What is command line argument
What are the restrictions that are applied to the java static methods?
What is difference between float and double?
Is alive and join method in java?
What is this () in java?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
What are the different types of garbage collectors in java?
What is use of functional interface in java 8? Explain
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What is the benefit of lambda expressions?