What are access modifiers?



What are access modifiers?..

Answer / javamasque

There are 4 access modifiers
• Public
• Protected
• Default
• Private

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Core Java Interview Questions

How do you break a loop?

0 Answers  


What methods are used to get and set the text label displayed by a button object?

0 Answers  


FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

1 Answers  


What are different access specifiers in java? Explain

0 Answers  


How multi processing is achieved in JAVA?

5 Answers   BMC,






What is the return type of readLine() when end of a file is reached?

2 Answers  


What is the statements?

0 Answers  


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

0 Answers  


What is == in java?

0 Answers  


What is a short in java?

0 Answers  


how to write a server program and sending the mails to the server using smtp protocol please help me

0 Answers   Lampex,


Can any one say how will sort map objects in java?

2 Answers   TCS,


Categories