1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ladessa [460]
3 years ago
11

Write an if statement that tests to see whether a String stored in a variable named phrase begins with a capital letter. If the

string begins with a capital letter, print capital. If not, print not capital . Use at least one method call from the Character class in your solution. You may assume that the string is non-empty (contains at least one character).
Computers and Technology
1 answer:
mamaluj [8]3 years ago
4 0

Answer & Explanation:

//written in java

public class Main {

   public static void main(String[] args) {

       //String stored in a variable named phrase

       String phrase = "Brainly";

       //Checking whether the first character is in upper case or not

       if (Character.isUpperCase(phrase.charAt(0)))

           System.out.println("capital");

       else

           System.out.println("not capital");

   }

}

You might be interested in
How do you change the username on here?
never [62]

Answer:

I don't think you can. You can try to make an email that has the name you want and use that.

Explanation:

6 0
3 years ago
With this type of memory, large programs are divided into parts and the parts are stored on a secondary device, usually a hard d
-Dominant- [34]
The answer to this question is the term virtual memory. A virtual memory is a type of memory that uses a secondary memory which is implemented on hardware and software. A virtual memory maps and combines virtual addresses into a physical address inside the computer memory and operating system controls the memory into virtual memory.
8 0
3 years ago
Ejercicio 12:<br> Convierte a binario los números hexadecimales siguientes: 7A5D.., 1010<br> ..
Natasha_Volkova [10]

Answer:

0111 1010 0101 1100

Explanation:

7 A 5 D

0111 1010 0101 1100

3 0
3 years ago
The physical parts or components of a computer system is called what
mylen [45]

Here is your answer:


The physical parts or components of a computer system is called "computer hardware." Computer hardware is what stores most of your computers applications that help it run more fluently for example the computers speakers are part of it's hardware since how it's used to help the person hear the computer and it helps the computer run smoothly.


Hope this helps!


<em>~Nonportrit</em>

4 0
3 years ago
A larger gear will produce more torque: true or false
aliina [53]
Power is force multiplied by velocity. The engine power is actually (relatively) constant regardless of the gear. So when people say there is "more power" in a lower gear, it's the common misconception that "more powerful" is "more forceful" but that's only part of the equation.

So if P is constant, then that means if you can combine a large force and a low velocity or a low force and large velocity for the same power.

When you put it in a low gear, you produce a large torque -- or a large force -- and a low velocity.

For example, if you are towing a trailer or trying to climb a very steep grade, you need the force to be large which is why you put it in a low gear. If you are on something slippery like snow or ice, a high gear will keep the force at the wheels low so the tires don't exceed the coefficient of friction and spin.
8 0
3 years ago
Other questions:
  • WHEN COPYING EXISTING SPREADSHEET DATA TO A WORD DOCUMENT YOU NEED TO SELECT?
    12·1 answer
  • Does anyone know the point of gradpoint?
    8·1 answer
  • In terms of object-oriented programming, after a class is defined,
    11·1 answer
  • A look to different section of the same page is known as_____.
    7·1 answer
  • The Leal button is located in the
    7·1 answer
  • What are the four steps of the research process?
    13·1 answer
  • Generally speaking, problems are rarely caused by motherboards. However, there are some instances in which a motherboard can fai
    12·1 answer
  • Why might you want to save a downloaded file to your computer first instead of running it immediately?
    6·1 answer
  • People of brainly Just a quick warning that there is a group of people posting links with virus.
    11·2 answers
  • What statement describes the last step in evaluating<br> information?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!