Education Menu


Features Menu


Additional Menu


Now Online

We have 321 guests online



Follow US

Twitter You Tube Google Plus
Pinterest Facebook EduLanka Blog


Information Zone

eduLanka Sinhala

Welcome to eduLanka.LK, Largest online education web site in Sri Lanka & most popular educational web site among Sri Lankan students. EduLanka, Best nonprofit & educational website is provided large numbers of online lessons, education related course information, teachers information, E books, examination result alerts, goverment job alerts, tuition class information, career guide for school leavers and more resources related to education in Sri Lanka. Edulanka provides education related resources from primary education, O-Level & A-Level education, University & Postgraduate education and vocational training education.

EduLanka IDN Domains http://එඩියුලංකා.ලංකා http://எடியுலங்கா.இலங்கை

jobs Mathematics SLAS Exam Dharma Education Results


Inside Online School

Share Us

Home Page Information Technology Java Programing (ජාවා වැඩසටහන්කරණය)

Character Using In JAVA
Tuesday, 01 February 2011 16:59

Java Character Using Example

This is a example for How to use character in JAVA programing language. To compile this java program need to copy Terminal IO ( for input data from Keyboard) packge into your working directory.


Download Full Example Code :


/*eduLanka Online education web site of Sri Lanka
-------- w w w . e d u L a n k a . c o m ------------
java programs for University students - who follow courses  -  BIT  -  SLIIT and more
find more lessons in  This e-mail address is being protected from spambots. You need JavaScript enabled to view it
this programs under GNU licence

import TerminalIO.*;
public class Q6{
public static void main(String []arg){
KeyboardReader abc=new KeyboardReader();
String str1=abc.readLine("Enter statement ");
int total=0,charactors;

System.out.println("Statement You Entered is : "+str1);
System.out.println("No of Chars are is : "+charactors);   

for(int i=0;i<charactors;i++){
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':


System.out.println("No of Vowels : "+total);


Last Updated on Tuesday, 01 February 2011 17:08

Add comment

Add comments relevant to this Article. මෙම ලිපියට අදාලව පමණක් අදහස් එකතු කරන්න.

Security code


Download Toolbar


Most Popular Articles

Latest Articles

Copyright © 2005 - 2016 (ඉස්කෝලේ) eduLanka Online Education School of Sri Lanka