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...

How can a class be accessed, If no access modifiers are
declared?

Answer Posted / banti

If a there is no access modifier specified to a class it
takes the access modifier as Default. This means the class
which has Default Access modifier can be accessed from
other classes defined in the same package.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mutable object and immutable object?

1123


what is mena by object block any what is the use of that

2212


Define Multiprogramming and Multiprocessing in java.

1144


What types of index data structures can you have in java?

1228


What is the difference between inner class and nested class?

1083


Why is method overloading not possible by changing the return type in java?

1001


Does java support multiple inheritance or not?

1095


What is the benefit of using enum to declare a constant?

1099


What is strings in java?

1039


What is subsequence of a string?

1093


what is meant by abstract class?

1126


What is serialization in java?

1058


Can we call the constructor of a class more than once for an object?

1089


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

1863


What's the difference between int and integer in java?

1153