Create an applet which take name and address of a student and convert it into upper case.
Answers
Answered by
1
import java.applet.Applet;
import java.awt.Graphics;
public class JennyArthur extends Applet {
public void paint(Graphics g) { g.drawString("Jenny Arthur!", 50, 25);
}
} {
char Jenny ArthurToUpperCase =
Character.toUpperCase(Jenny Arthur);
result = result + JENNY ARTHUR ToUpperCase;
terminalCharacterEncountered = false;
}
import java.awt.Graphics;
public class JennyArthur extends Applet {
public void paint(Graphics g) { g.drawString("Jenny Arthur!", 50, 25);
}
} {
char Jenny ArthurToUpperCase =
Character.toUpperCase(Jenny Arthur);
result = result + JENNY ARTHUR ToUpperCase;
terminalCharacterEncountered = false;
}
Similar questions