File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 41180
    
  45
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
 
Consider Paul's rocket mass heater.
 
subject: interface reference
 
Similar Threads
How To Call Two Different Classes From the Main Program Using the Same API?
Home interface or Home Interface stub
Time Capsule
Writing an Interface
what results byte code in java