Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~413 People Reached
Favorite Forums
Favorite Tags
java x 4
Member Avatar for darek9576

String class provides us with the method String.valueOf(some stuff) that basically converts "some stuff" into a string.. But we can also concatenate "some stuff" with an empty String (""). Both these methods result in a String representation of an object(or other data type) so my question is what is the …

Member Avatar for javaAddict
0
146
Member Avatar for darek9576

Could anyone give some info on the printf() method.. I know we can put %d and %s in the format argument so that it takes a string data type and a decimal data type but apart from that are there any other uses of printf()? some simple examples will do …

Member Avatar for BestJewSinceJC
0
86
Member Avatar for darek9576

When i write in my program double pi = Math.PI; This will give me a value of PI accurate to many decimal places, but what if i want to limit this number lets say to 3 decimal places.. [b]Is there such a method in Java? [/b] (Im not talking here …

Member Avatar for BestJewSinceJC
0
85
Member Avatar for darek9576

Can anyone outline the use of the keyword "instanceof". I mean, when do we use it etc.. Couple of examples would make it clearer i guess...

Member Avatar for BestJewSinceJC
0
96