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 make a class static without using static keyword?

Answer Posted / mamta subramanian

We cannot declare any outer class as static. There would a
compiler error if we do so.
But if it is an inner class we can declare it as static.
and it act as a static object of outer class.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can bst contain duplicates?

1196


Which is not an object oriented programming language?

997


Why do we use class?

1090


How can you overcome the diamond problem in inheritance?

1184


What is protected in oop?

1079


Which language is not a true object oriented programming language?

1137


What is destructor give example?

1057


What are the important components of cohesion?

1026


What is object in oop?

1120


What is encapsulation and abstraction? How are they implemented in C++?

1140


What is inheritance in simple words?

1058


What is balance factor?

1079


What is interface in oop?

1130


What is encapsulation example?

1061


What is polymorphism explain its types?

1167