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

Can we have a private constructor ?

Answer Posted / prabha govind

yes
and if a constructor is made private/protected...then that
class cannot be inherited

Is This Answer Correct ?    116 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation example?

1053


What is polymorphism and its types?

1063


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2129


What is object and example?

1176


What is abstraction with example?

1112


2. Give the different notations for the class.\

2158


What are the 4 main oop principles?

1220


What is encapsulation in oops?

1007


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2193


Why polymorphism is used in oops?

1047


Can private class be inherited?

1167


What is multilevel inheritance in oop?

1032


What is a class oop?

1003


What is the advantage of oop over procedural language?

1081


Why do pointers exist?

1085