Explain about public and private access specifiers?
Answer / Jai Prakash Kaim
"The public access specifier in Java allows any class within the package or outside the package to access a variable, method or constructor. The private access specifier only allows the defining class to access it."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is Collections API?
What is strings in java?
What is vector capacity in java?
Does java have extension methods?
What is the difference between a public and a non-public class?
What are variable names?
What are listeners in java and explain ?
explain oops concepts with examples?
29 Answers AbhiBus, Beeline, DELL, HCL, Satyam, TCS, VLS, Wipro,
What are inner and anonymous class?
What are bind parameters?
if u open login & logout ,how can udisplay the timelogin & logout members ?
i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance