• Register
0 votes
231 views

Problem:

I am new, I need help, can anyone help me?
Which of the following is the correct statement to return JAVA?
 A. toUpperCase("Java")
 B. "Java".toUpperCase("Java")
 C. "Java".toUpperCase()
 D. String.toUpperCase("Java")
7 5 3
5,380 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

The correct answer is: "Java".toUpperCase()
  
Hope this might help you.
8 5 2
10,530 points

Related questions

0 votes
1 answer 13 views
13 views
Problem: Hello! I just started learning Java. I am trying to figure out the differences in naming conventions for variables and constants in Java. I declared following variables and I want to know which of these are constants? int Const = 4; float HEIGHT = 3.4; bool True = true;
asked Nov 29, 2020 Code Learner 5.2k points
0 votes
1 answer 9 views
9 views
Problem: Which of the following is correct in reference to a database? A database can support only one logical A database can support many physical views A database can support many logical views A database can support up to 3 logical views
asked Aug 4, 2020 ArifulIslam 5.6k points
1 vote
1 answer 31 views
31 views
Problem : I am very new to programming. I have recently started learning C programming. Please find below the one way of initializing the array: I have one doubt about my above program : Which of the following is not a correct way to initialize an array? int n[ 5 ] = { 0, 7, 0, 3, 8, 2 }; int m[3] = ... [1] 15};     printf("m[0] = %d  m[1] = %d   m[2] = %d\n", m[0], m[1], m[2]);     return 0; }
asked Apr 27, 2020 stewart 4k points
0 votes
1 answer 45 views
45 views
Problem: This Question all of Java builtin standard, built-in objects, including their methods and properties. The term "global objects" (or standard built-in objects) here is not to be confused with the global object. Here, "global objects" refer to objects in the global scope. any one tell me about how to retrives built in objects
asked Nov 3, 2020 Mashhoodch 5.6k points
0 votes
1 answer 11 views
11 views
Problem: Explanation: How All primitive wrapper classes (Integer, Byte, Long, Float, Double, Character, Boolean and Short) are immutable in Java, so operations like addition and subtraction create a new object and not modify the old.?
asked Nov 5, 2020 Mashhoodch 5.6k points
0 votes
1 answer 7 views
7 views
Does anyone have an idea?
asked Dec 19, 2020 TeamScript 9.2k points
0 votes
1 answer 61 views
61 views
Problem: I am new in networking and unable to set IP address and subnet to get smooth network, I need help, can anyone help me? Which of the following is the correct binary representation of the IP address 192.168.0.2? a. 11110000.10111000.00000000.00000010 b. 10100000.10010000.00000000.00000010 c. 11100000.10110000.00000000.00000010 d. 11000000.10100000.00000000.00000010
asked Feb 19, 2020 maddi86 5.4k points
0 votes
1 answer 15 views
15 views
Problem: Hello all, I just recently started learning Java. In today&rsquo;s class, we learned about ternary operator and my teacher gave me an assignment in which I have to convert given if-else statement using ternary operator: if(number1<number2 && number1 < number3 ... out the smallest number"); I am unable to figure out how to change these statements using ternary operators. Can anybody help?
asked Nov 30, 2020 Code Learner 5.2k points
0 votes
1 answer 5 views
5 views
Problem: Hello! My question is simple: Which modifiers cannot be used with static variables? Also, I tried running the following program, but I could not understand its output. I am attaching the program and its result below: class test { static test T = new test(); static ... System.out.println(object.num2); } } Output: 10 20 I evaluated the output as 20 40. Can anybody explain the output to me?
asked Dec 19, 2020 Code Learner 5.2k points
0 votes
1 answer 9 views
9 views
Problem: Hello! I am working with files in Java. I recently came to know about pathseparators. I want to know more about path separators and which separator returns the path separator character in Windows?
asked Dec 19, 2020 Code Learner 5.2k points