Rajan Masi

Greenhorn
+ Follow
since Jul 27, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
3
Given in last 30 days
3
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rajan Masi

Thanks for your replies Members
1 week ago
Hello Members,


Is it a good programmer practice to end your double value with 'd' in your Java program?

I have learnt that it is optional. However, I would like to know if it is a good practice to do so.

Example:

double value = 11.99d;


Thank you.
2 weeks ago
Thank you very much for your replies Members
2 weeks ago

Campbell Ritchie wrote:Welcome

You have come to the right place. How much programming do you know already?



Oh I know only some basic stuff about Java.

My object-oriented concepts are still shaky and I'm practicing on them.
2 weeks ago
Hello Members,

I have a doubt to ask you all.

In most online Java tutorials, the main method is given as follows: public static void main(String[] args)

However, in some examples, the main method is given as public static void main(String args[]) and also public static void main(String ... args)

I have tried running the different main methods and the programs work.

Does that mean that there are different variations of main method that are available?

Thank you.

2 weeks ago
Hello All,

I'm new to Java programming and want to learn more about Java.

Thank you.
1 month ago