Which one of the following is the right way to define a constant?

Question:Which one of the following is the right way to define a constant?

1.constant PI = “3.1415”;

2.const $PI = “3.1415”;

3.constant PI = ‘3.1415’;

4.const PI = ‘3.1415’;


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!