wood burning stoves
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes ServerSocket.java Question 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 "ServerSocket.java Question" Watch "ServerSocket.java Question" New topic

ServerSocket.java Question

Harry Preston

Joined: Jun 01, 2013
Posts: 9
From JDK, ServerSocket.java


How can you create instance (factory) of interface (SocketImplFactory)?
"= null" wat mean?
Myyron Murray Latorilla
Ranch Hand

Joined: Dec 10, 2009
Posts: 65

You create an instance using a class that "implements" that interface.

"null" assignment is unnecessary as the Class's Object type reference variable always get default value of null. Also means the reference variable isn't pointing to any object initially.

Harry Preston

Joined: Jun 01, 2013
Posts: 9
Got it, thanks help
I agree. Here's the link: http://aspose.com/file-tools
subject: ServerSocket.java Question
It's not a secret anymore!