Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

strictfp, Thread's deprecated methods part of 1.4?

 
Nad Shez
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm studying for Java Programmer Certification 1.4, & would like to know about the following.
a) strictfp. apart from that its a keyword, can there be questions regarding its proper usage, its validity along with other modifiers, etc?
b) Am i supposed to learn the working of methods resume, stop, suspend in Thread class, even though they're deprecated?!
Thank you.
 
Alexandre Ferras
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a) strictfp. apart from that its a keyword, can there be questions regarding its proper usage, its validity along with other modifiers, etc?

You just have to known that strictfp is a keyword and CAN NOT be combined with ABSTRACT.
 
Damien Howard
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should also know where you can use strictfp.
It can be used with classes and methods but not variables.
You don't need to know about threads depracated methods.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Loose Camel"-
Welcome to the JavaRanch!
We like to keep a nice professional lookin' image here (despite that one eyed moose)... so please adjust your displayed name to match the JavaRanch Naming Policy. You can change it here.
Thanks! and again, welcome to the JavaRanch!
 
Miki Muzsi
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
b) Am i supposed to learn the working of methods resume, stop, suspend in Thread class, even though they're deprecated?!

Basically you should just know they are deprecated. However it does not hurt reading through the API once, to see what they were intendeed to do. And to see for e.g. how can you actually stop a thread if you would want to.
Regarding strictfp, I would suggest just do some of Dan's tests and you know more than enough for the exam.
Miki
 
Nad Shez
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So basically learn almost everything about strictfp!
Sorry about my displayed name didn't know that there was a naming policy, so i've changed it now.
Thanks everyone.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic