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

Why do while loop is used?

1094


What is advantage of inheritance?

1223


What does I oop mean?

1123


What is for loop and its syntax?

1129


What is abstraction example?

1152


What are the three parts of a simple empty class?

2093


c++ program to swap the objects of two different classes

2468


What are the 5 oop principles?

1164


What is destructor in oop?

1080


What is an interface in oop?

1087


Can main method override?

1145


what are the realtime excercises in C++?

2891


What is encapsulation process?

1096


What is polymorphism and its types?

1127


What are the important components of cohesion?

1077