File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Mock Exam Errata and the fly likes SCJP doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Mock Exam Errata
Reply Bookmark "SCJP doubt" Watch "SCJP doubt" New topic
Author

SCJP doubt

Padmalatha Ravi
Greenhorn

Joined: Aug 16, 2000
Posts: 2
Hai,
I am planning to appear for Sun Certification and I have joined new in this forum. Let me have those advantages of clear concepts.
Thanks.
Question 1.
Which of the following statements are valid for a method which overrides the foll:
protected void method(int x) {..}
a. overiding method takes int as only parameter.
b. Overriding method must return a void.
c.overriding method can be declared as private.
d.overiding method can return any value it wishes.
Kindly clear my doubt as I have chosen a,b. Is that true?
Quetion 2:
Is -0.0 different from 0.0?
In that case what would be the right answer for ceil() and floor() of -0.5? Kindly clear my doubt.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18652
I'm moving this to Programmer Certification, as this forum is only intended for mock exam questions that are known to be in error.


"I'm not back." - Bill Harding, Twister
 
IntelliJ Java IDE
 
subject: SCJP doubt
 
Threads others viewed
Inheritance Doubt
SCJP doubt
static member data and functions doubt
Inheritance doubt
developer file tools