Question: Jump to level 1 String artExhibition is read from input and represents an art exhibition. The art exhibition has two fields, separated by character
Jump to level
String artExhibition is read from input and represents an art exhibition. The art exhibition has two fields, separated by character Output the last field of artExhibition. End with a newline.
Ex: If the input is Artist: Eve, Theme: quail, then the output is:
Theme: quail
import java.util.scanner;
public class FindLastField
public static void mainString args
Scanner scnr new Scanner
System.in;
string artExhibition;
int index;
artExhibition scnr nextLine ;
your code goes here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
