jaypee's world programmer ".NET DEVELOPER"
this blog is all about my learnings on programming
Monday, March 29, 2010
Declaring variables in java
to declare a variable in java we use the data type.
example:
int a;
int a=5;
float rph=1.2;
char s;
char let='A';
String s[]={"Hello", "World"};
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment