Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between a public and a non-public
class?

Answer Posted / javachi

public class is a class that can be accessed from anywhere in the package and outside the package, this public means access globaly.
there is no such non-public class in java. so we can consider private, protected, friendly classes as a non-public classes.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you reverse a string in java without using string buffer?

1149


What is the transient keyword?

2353


Explain about field hiding in java?

1001


What is array list in java?

1128


What are the differences between heap and stack memory?

1147


how would you implement a thread pool? : Java thread

971


What is the major drawback of internal iteration over external iteration?

1079


What is an example of character?

1206


What is json parser in java?

1102


What is jrmp?

1007


Explain about serializable interface in java?

1051


What does || || mean in math?

995


what are the high-level thread states? : Java thread

1073


What state is a thread in when it is executing?

1033


How do you delete a list in java?

1022