Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) {
- char PI ='a';
- char age = '1';
- System.out.println((int)PI);
- System.out.printf("%1$c",(int)PI,age);
- }
- }
Add Comment
Please, Sign In to add comment