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
Bess [88]
4 years ago
5

Courteous behavior on the road will blank?

Computers and Technology
1 answer:
Nana76 [90]4 years ago
3 0
Courteous behavior on the road will prevent road rage?

I Googled this one and that's what others say. What kind if class is this?
You might be interested in
Write a recursive method that tests whether a string is a palindrome. It should return a boolean T or F depending on whether or
Sveta_85 [38]

Answer:

// program in java.

// library

import java.util.*;

// class definition

class Main

{

// recursive function to check palindrome

   public static boolean isPalin(String str){

// base case

     if(str.length() == 0 ||str.length()==1){

        return true;

     }

// if first character is equal to last

     if(str.charAt(0) == str.charAt(str.length()-1))

     {

     // recursive call

        return isPalin(str.substring(1, str.length()-1));

     }

     // return

     return false;

  }

  // main method of the class

public static void main (String[] args) throws java.lang.Exception

{

   try{

    // object to read input

Scanner scr=new Scanner(System.in);

System.out.print("Enter a string:");

 // read string from user

String myString =scr.nextLine();

 // call function to check palindrome

     if (isPalin(myString)){

        System.out.println("Given String is a palindrome");

     }

// if string is not palindrome

     else{

        System.out.println("Given String is not a palindrome");

     }    

   }catch(Exception ex){

       return;}

}

}

Explanation:

Read a string from user and assign it to variable "myString" with scanner object. Call the method isPalindrome() with string input parameter.In this method, if  length of string is 0 or 1 then it will return true(base case) otherwise it will call itself and compare first character with last character.If string is palindrome then function will return true else return false.

Output:

Enter a string:ababa                                                                                                      

Given String is a palindrome

8 0
4 years ago
How much data can a flash drive store?​
zzz [600]

Answer:

depends on which flash drive

Explanation:

32GB-1000 photos

6 0
3 years ago
Read 2 more answers
Why is transmitting information through computers cheap and fast
Novay_Z [31]

<em>Hey there!</em>

Just to be corny, what does a spider use to navigate the internet? <em>The World Wide Web!  </em>Did you catch that? Hopefully you did...

Anyway, enough with my jokes, here's your answer.

Transmitting information through computers are cheap and fast because of multiple things. The first reason is because they don't require a deliverer or shipping. They can literally be sent from anywhere and be delivered within 10 seconds-5 minutes, way faster than any mailman or delivery. How does it move that fast? Smaller files tend to move quicker among the invisible online delivery lines, most commonly known as cell towers. To get online info from your phone/computer to someone else's device, the file bounces from tower to tower to finally reach the destination.

<em>I'm always open to any question or comment!</em>

<em>God Bless!</em>

<em>-X8lue83rryX</em>

5 0
3 years ago
PLS HELP ASAP ILL GIVE BRAINLKEST THANKS ITS FOR TODAY
ANTONII [103]
Do u have context for the question? Based off of my brain alone, I would eliminate good food as an answer. I’d assume the answer to the second question is code.
8 0
3 years ago
Given the following array definition, write a constant declaration named ArraySize that automatically calculates the size in byt
Rina8888 [55]

Answer:

ArraySize = ($ - newArray)

Explanation:

Given

Array name: newArray

Type: DWORD

Required

The size of the array in bytes

The following formula is used to calculate the size of an array in assembly language.

Variable = ($-Array name)

So, we have:

ArraySize = ($ - newArray)

<em>Where ArraySize is the variable that holds the size of newArray (in bytes)</em>

8 0
3 years ago
Other questions:
  • MATLAB graphics user interface:<br> Describe what Folder, Command Window and Workspace are.
    5·1 answer
  • Identify four basic data manipulations performed on a relational database using sql
    7·1 answer
  • Which wireless communication is typically limited to six feet of distance?
    6·1 answer
  • Is cloud computing a hardware service used to keep computers working? True or False
    11·1 answer
  • What two factors make up the skills of a good typist
    6·1 answer
  • What is the use of html in websites
    15·2 answers
  • The main events of the civil war and reconstruction
    14·1 answer
  • A customer reports that recently several files cannot be accessed. The service technician decides to check the hard disk status
    11·1 answer
  • this device can be used to type documents,send email,browse the internet,handle spreadsheets,do presentations,play games,and mor
    14·1 answer
  • UserInp = input("Did you like the story?")
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!