Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

strictfp, Thread's deprecated methods part of 1.4?

 
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.
 
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.
 
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.
 
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!
 
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.
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic