Wednesday, October 14, 2015

How To Use Char Variable in Java Programming Language + video tutorial

How To Use Char Variable in Java Programming Language

The Following script is the simplest way to declaring and using Char variable in Java:

class UseString{
 public static void main(String args[]){
  char x;
  x= 'X';
  System.out.println("your char variable : "+ x);
 }
}

ShadowOfBdg© - All rights reserved. 

No comments:

Post a Comment