GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 592 of 928    Print  
what are advantages of using Innerclasses

  
Total Answers and Comments: 1 Last Update: April 24, 2006     Asked by: kranthi kumar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 24, 2006 11:06:19   #1  
Karthik        

RE: what are advantages of using Innerclasses

First The main purpose of inner class as the name implies. ie. not to have as a seperate class.

There may be situations where you need a helper sort of class which is very specific for a single class.In that case it may not be very good to have a seperate-independent class and give it a big figure. Instead embedd the class within the class that requires the innerclass' functionality.

The main advantage is the inner class can share a intimate relationship with the outer class.(it can access its private variables)


 
Is this answer useful? Yes | No

 Related Questions

A) Reusability of codeB) accessibility of variables of the superclass by subclasses.C) Accessibility of methods of the superclass by subclasses.D) a,b are true 
Latest Answer : A) Reusability of codeB) accessibility of variables of the superclass by subclasses.C) Accessibility of methods of the superclass by subclasses. ...

Latest Answer : First,The main purpose of inner class as the name implies.,ie., not to have as a seperate class.There may be situations where you need a helper sort of class which is very specific for a single class.In that case it may not be very good to have a seperate-independent ...


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Advantages of Using Oracle

Oracle has many advantages and features that makes it popular and thereby makes it as the largest enterprise software company. Oracle comes with new versions with new features implemented in new version while the features of earlier versions still being maintained. One important aspect is Oracle da
 

Advantages of Using SAP R/3 in comparison with other Similar Tools

ERP system takes a lead role because of some of the following reasons: Many large corporations use several different and separate information systems, often because they have merged with and/or acquired other companies with varied systems. An ERP system integrates these separate information systems
 

Advantages of Using VoiceXML In Comparison To Similar Tools

Another powerful advantage of VoiceXML is the ability for the system to re-use certain Internet structures. The vast majority of companies today use either one of two infrastructures, and these are the IVR infrastructure or the web based infrastructure. VoiceXML is powerful because it will allow
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

SOA Advantages

SOA Advantages Businesses in today’ s competitive environment are constantly faced with the challenge of having to provide more with fewer resources Businesses are constantly under pressure to deliver goods and services to the market at a faster cheaper rate and at higher quality than in
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape