Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Java Articles
Submit Article
Home
»
Articles
»
Java
»
Fundamental
RSS Feeds
Character Wrapper Class
Posted By:
Allan Bailey
Category:
Java
Views:
10204
This article explains about Character wrapper class in java.
Character wrapper class
is used to wrap primitive data type char value in an object.
Examples of Character Wrapper Class
Example 1 : Convert char data type to Character object
public class charToCharacter
{
public static void main(String[] args)
{
char c = 'a';
Character cObj = new Character(c);
System.out.println(cObj);
}
}
Output
a
Share:
Previous Post:
Double Wrapper Class
Next Post:
Boolean Wrapper Class
Didn't find what you were looking for? Find more on
Character Wrapper Class
Or get
search suggestion and latest updates
.
Allan Bailey
author of Character Wrapper Class is from Houston,
United States
.
View All Articles
Related Articles and Code:
Boolean Wrapper Class
Integer wrapper class
Wrapper Classes
Byte Wrapper Class
Short Wrapper Class
Long Wrapper Class
Float Wrapper Class
Double Wrapper Class
Program to show an example of Calling a Base Class Method from a Derived Class
Program of displaying product inventory by converting one class to another class
Program to illustrate over-riding of base class member function in a derived class
Program to show an example of using a Static Nested Class outside the Top-Level Class
Program of class to class conversion
Program to swap even positioned characters with odd positioned characters in a given string
Program to read a string , character by character and display the same
To read string character by character and display them
CREATING A CLASS ACCOUNTS FROM WHICH ARE DERIVED TWO CLASSES CURRENT AND SAVINGS AND THEN ASK THE USER FOR THE TYPE OF ACCOUNT HE WANTS TO CREATE
PROGRAM OF BASIC TO CLASS CONVERSION
Program of class to basic conversion
Preparation of the rank list of a class of students using pointers and two dimensional arrays
Other Interesting Articles in Java:
Continue Statement
Program to show an example of modifying String objects
Program to show the use of the Continue Statement
Corba program of reverse string
Variables and Assignments
Given a list of marks ranging form 0 to 100, write a program to compute and print the number of students marks
Simple Applet which will show life cycle of an Applet
Word list program that reads a text file and makes an alphabetical list of all the words in that file. The list of words is output to another file
Method inheritance and use of Super keyword to access superclass method
Program, which creates a three thread. One thread display the numbers from 1 to 5, second thread display the square root of that number etc
Even no or Prime no?????
Program to generate SQUARE ROOT table
Program to show the use of Conditional AND Operator (&&) in If Statements
An applet program to add two number's where data is entered in TextField
Program to Concat Strings
Program of Floyd's Triangle
Instance methods and variables
An applet program of passing parameters
CORBA based application for addition of two mathematical expressions of the form (ax + by) and displaying the result on client side
Nested IF and IF-ELSE-IF Ladder
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Java
View All
Applet programs
Arrays
Comparison Operator
Corba
Data file structure
File Handling
Fundamental
Homework Help
Interview FAQ
Networking Technology
Operators
Remote Method Invocati...
Socket Programming
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Unix / Linux / Ubuntu
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint