answersLogoWhite

0


Best Answer

The main difference between a local class and a nested class is, local class can be used for once of a perticular part where as nested class can be used used anywhere through out the program.

You may get clear information regarding Interview Questions at http://www.bigvacancies.com/java-interview-questions/

User Avatar

Wiki User

βˆ™ 14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between local class and nested class?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are nested structures?

Nested structures means we can have a structure inside another eg: struct A { ........... ............ struct B { ........ ........ }b; }a;


What is nested class and what is its use in c plus plus?

A nested structure is simply one structure inside another. The inner structure is local to the enclosing structure. struct A { struct B {}; }; Here, we can instantiate an instance of A as normal. A a; But to instantiate B we must qualify the type because it is local to A: A::B b; If B were only required by A, then we can prevent users from instantiating instances of B simply by declaring it private: struct A { private: struct B {}; };


What is the difference between a local and wireless router?

There is no difference.


What is the difference between local market and national market explain with example?

what is the difference between local market and national market


What is difference between local government and local self government?

The difference between local government and local self government is that local government has a more limited scope of power. Local self government is able to make more decisions.


What is a first aid and CPR college class like?

The exact same class that is offered in the community at your local firehouse. No difference.


What is Difference between local variable and data members or instance variable?

A data member belongs to an object of a class whereas local variable belongs to its current scope. A local variable is declared within the body of a function and can be used only from the point at which it is declared to the immediately following closing brace. A data member is declared in a class definition, but not in the body of any of the class member functions. Data members are accessible to all member function of the class.


What is the difference between network and internet?

AnswerThe difference between the two is that internet is the world wide web and network is local.


What is difference between auto and local variables in c?

Nothing.


What is the difference between local and global revision?

that they are not the same thing


What is the different between us beef and local beef?

The difference between US beef and local beef is that the local beef is a bit fresher. The local beef is better for the environment and local economy as well.


What is the difference between national and local policy?

national = the whole country local = county or city/town