• Register
0 votes
87 views

Problem:

I am new in programming, I need help, can anyone help me?
Declare an integer constant, MONTHS_IN_YEAR, whose value is 12?
7 5 3
5,380 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution:

Solution for your query is 

final int MONTHS_IN_YEAR = 12;

Hope this might will help you.

8 6 2
10,530 points
0 votes

Solution:

The Solution of this query is
final int MONTHS_IN_YEAR = 12;

For Further Query Go To This Page http://aceofbaseprogrammer.blogspot.com/2011/10/java-programming-helper.html

10 6 4
31,120 points

Related questions

0 votes
1 answer 106 views
106 views
Problem: Can anyone help it was actually asked in exam as following and I need to know whether my answer was right or not? Write an expression that whose value is the fifth character of the String name?
asked Feb 24, 2020 maddi86 5.4k points
0 votes
1 answer 179 views
179 views
Problem: Write an expression whose value is the str that consists of the third to last character of the str associated with s I tried s[2:] didn't work. Can you please guide me with right solution?
asked Feb 19, 2020 maddi86 5.4k points
0 votes
2 answers 89 views
89 views
Problems: I am new to programming, I need help, can anyone help me? Declare a variable isACustomer suitable for representing a true or false value?
asked Feb 14, 2020 maddi86 5.4k points
0 votes
1 answer 14 views
14 views
Problem: Would the following code be correct? class Person { private: string name; bool sex; int age; public: Person (); bool getSexo (); int getAge (); Person play (string s); }Hope someone could help me out?
asked Jan 25 sasha 16.2k points
0 votes
1 answer 87 views
87 views
Problems: Can anyone give the right solution? Write a literal representing the false value?
asked Feb 14, 2020 maddi86 5.4k points
0 votes
1 answer 211 views
211 views
Problem: I am new in programming and stuck in a query, can anyone guide me? Write an expression that evaluates to True if the str associated with s starts with "p"?
asked Feb 17, 2020 maddi86 5.4k points
0 votes
1 answer 170 views
170 views
Solutions: I am new in programming and my logic is not good, can anyone give the right solution? Write an expression that evaluates to true if and only if the C-string s equals the C-string "end"?
asked Feb 14, 2020 maddi86 5.4k points
0 votes
1 answer 1 view
1 view
Problem: What are my options for dealing with this issue “Calculate min () is similar to the min () function”?
asked Mar 30 tuhin1 48.9k points
0 votes
1 answer 9 views
9 views
Problem: Why I got this error: how to call to undefined function split()? ny idea on what I need to fix this. I am new in c++. Thanks in advance.
asked Mar 13 jasimchaudary 1.5k points
0 votes
1 answer 34 views
34 views
Problem: I have recently learned about the functions in C++ and I want to write a function that has three string parameters and returns the smallest string of all according to its length. How can I do that? This question might seem nonsense so I apologize for being so dumb. Thanks!
asked Feb 27 Code Learner 9.2k points