File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Name of a class '' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Name of a class Watch "Name of a class New topic

Name of a class ''

Paweł Baczyński

Joined: Apr 18, 2013
Posts: 1473

Hi guys!
I have a serious doubt. My must requirement says that a class implementing provided interface must be called
Well... no class can ever be called with a dot in its name. So I called my class Data in a file.
I expected some things that can make me uncertain but not with a must requirement of a class name!
Am I too paranoid?

OCPJP 6, 7, 8, OCMJD 6
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 1080
The file should be called But the class is Data.
Roberto Perillo

Joined: Dec 28, 2007
Posts: 2270

Pawel Pawlowicz wrote:Am I too paranoid?


Kiddin'. It should just be just the following:

Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
I agree. Here's the link:
subject: Name of a class ''
It's not a secret anymore!