Java Char Upper Case toUpperCase(char ch)

Here you can find the source of toUpperCase(char ch)

Description

to Upper Case

License

Open Source License

Declaration

public static char toUpperCase(char ch) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static char toUpperCase(char ch) {
        StringBuffer sb = new StringBuffer();
        sb.append(ch);/*ww w  .  j  av  a  2  s.  c  o  m*/
        char[] arr = sb.toString().toUpperCase().toCharArray();
        return arr[0];
    }
}

Related

  1. toUpperCase(char a)
  2. toUpperCase(char a)
  3. toUpperCase(char c)
  4. toUpperCase(char c)
  5. toUpperCase(char c)
  6. toUpperCase(char input)
  7. toUpperCase(char[] cs)
  8. toUpperCase(final byte b)
  9. toUpperCase(final char[] buffer, final int offset, final int limit)