wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes interface reference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "interface reference" Watch "interface reference" New topic
Author

interface reference

harsh garg
Ranch Hand

Joined: Jul 13, 2008
Posts: 33
how we create the object for the interface?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41029
    
  43
It's as simple as:

Map myMap = new HashMap()

Or are you asking how to write a class that implements an interface?


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: interface reference
 
Similar Threads
Home interface or Home Interface stub
Time Capsule
Writing an Interface
How To Call Two Different Classes From the Main Program Using the Same API?
what results byte code in java