GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 429 of 502    Print  
What is the purpose of using interfaces?Where and how we use it?

  
Total Answers and Comments: 2 Last Update: February 14, 2008     Asked by: chandra 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 16, 2007 01:31:45   #1  
vijay DJ        

RE: What is the purpose of using interfaces?Where and ...
If you want to change the design of the application then we will go for the Interface.
 
Is this answer useful? Yes | No
February 14, 2008 03:58:39   #2  
sampra Member Since: February 2008   Contribution: 278    

RE: What is the purpose of using interfaces?Where and how we use it?
If you want to change the design of the application at the time of implementation

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : An interface is a specification that exists between software components that specifies a selected means of interaction, by means of properties of other software modules, which abstract and encapsulate their data. Java does not support multiple inheritance, ...
Read Answers (1) | Asked by : Beena

Latest Answer : An interface is a specification of method prototypes. All the methods of interface are public and abstract. They are public because they should be available to third party vendors and they are abstract because their implementation is left for third party ...
Read Answers (11) | Asked by : prakash

Latest Answer : Can I know why it is so ...
Read Answers (3) | Asked by : Venkat

one can use different groups of objects in program using collection frame work.for more detail readcollection frame work from java.util pack. 
Latest Answer :  A collection is a group of object. its provide ways (using classes n interface)for fundamental alteration in the structure and architecture of many element in java.util pakageclasses>>>Collections,AbstractCollection,AbstractList,AbstractMap,AbstractSet,Arraylist,Arrays,Date,Calendar,TimeZone,Stack,StringTokenizer,HashMap,HashSet,HashTable,TreeMap,LinkedList,VectorINterface>>>Collection, ...
Read Answers (4) | Asked by : vijay s dange

Let say there are two interfaces like the followinginterface int1{int meth1();}interface int22{int meth1();}ok theni am implementing both of them in a calss as followsclass mycl implements int1,int2{}now as the rule says, if a class implements an interface it must complete its signature.now my questions is that if i define meth1(), as that method is in both interface, may i know how can i define both of that methods.please answer me
Read Answers (13) | Asked by : Y Niranjan Prasad

Latest Answer : All those answers are lies. JAVA was named as coffee was drunk the most when it was developed. And the bean name is JAVA. thats why u see Coffee Cup as its official symbol.Enjoy. ...
Read Answers (3) | Asked by : ganesh

Latest Answer : the main purpose of marker interface is to check the instance of that class whick is going to implement by using instanceof()method.but is reccomendedin programming code b'coz we know that why am doing it.like-----we implement cloneable interface when ...
Read Answers (2) | Asked by : vikranth

Marker interface having no methods right.. then what is the use of marker interface? for what purpose we use marker interface?
Read Answers (9) | Asked by : vengal79

Latest Answer : yes you can write marker interface.A marker interface is the one which doesn't have any methods declared in it e.g. Serializable etc.Here you go as marker interface...............interface thisIsAMarkerInterface{ }vinny ...
Read Answers (5) | Asked by : khizer

Marker interface having no methods right.. then what is the use of marker interface? for what purpose we use marker interface?
One of the "clean" features of the Java programming language is that it mandates a separation between interfaces (pure behavior) and classes (state and behavior). Interfaces are used in Java 


 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
 

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
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Java Technology Trends

Technology Trends Involving Java Java is an object oriented programming language OOP for Web browsers It is organized around data rather than actions and supports polymorphism which allows the same code to be written generically so it can function with different datatypes inheritance which allows on
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

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