Thursday, August 13, 2020

write a java program for character variable increment in java

 class D1 

{

public static void main(String[] args) 

{

char ch='X';

ch++;

System.out.println(ch);

}

}


No comments:

Post a Comment