File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes plz explain the o/p?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "plz explain the o/p??" Watch "plz explain the o/p??" New topic

plz explain the o/p??

srikanth reddy
Ranch Hand

Joined: Jul 28, 2005
Posts: 252
import java.util.*;
public class Test17{
public static void main(String a[]){
Map m = new Hashtable(10,0.75f);

can nyone explain the o/p please???

Thanks & Regards<br /> <br />-Srikanth
Joanne Neal

Joined: Aug 05, 2005
Posts: 3742
What output are you expecting ?
What output are you getting ?

The answer to your question is in the API docs.
[ September 02, 2005: Message edited by: Joanne Neal ]

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 980
Returns the number of key-value mappings in this map.

No key-value value is 0

I agree. Here's the link:
subject: plz explain the o/p??
It's not a secret anymore!