subject

Given a String named word. Display the letters of the word, one letter per line. Example: if word is initialized to JACK

Display

J

A

C

K

Given Code:

import static java. lang. System.*;

import java. util.*;

import java. io.*;

public class Class1

{

public static void main(String[]args)

{

Scanner kb = new Scanner(in);

String word = kb. next();

}

}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
question
Computers and Technology, 23.06.2019 05:30
Sally is editing her science report about living things. she needs to copy a paragraph from her original report. order the steps sally needs to do to copy the text to her new document.
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
How do you know if the website is secure if you make a purchase
Answers: 2
You know the right answer?
Given a String named word. Display the letters of the word, one letter per line. Example: if word i...
Questions
question
Mathematics, 03.09.2020 04:01
question
Chemistry, 03.09.2020 04:01
question
English, 03.09.2020 04:01
question
Business, 03.09.2020 04:01
question
Mathematics, 03.09.2020 04:01
question
Social Studies, 03.09.2020 04:01
Questions on the website: 13722363