• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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.
 
There’s no place like 127.0.0.1. But I'll always remember this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!