|
|
||
|
Home | Hindi | Kabir | Poetry | Workshop | BoloKids | Writers | Contribute | Search | Contact | Share This Page! Shop Online |
|||
|
Computing |
Java Variables and Strings In the last article we saw how to assigning values to variables and their respective ranges. Lets try to learn more on variables and strings. Use of variables is a key to efficient coding in any programming language. Variable declaration , if not done properly, can lead to many debugging errors. Variable Assignment and Initialization
int marks; marks = 66; int marks = 66; Casting (Changing from one type to another)
byte --> short --> int --> long --> float
--> double
double d = 345.456; int i = (int) d;
Strings: String s = "Hello Learner";
In the later weeks, I will write in more about the intricacies that form an integral structure of the JAVA language. Currently I am doing a project with JAVA as the Front End and I learnt, the more you work in any programming language, the more you learn. –
Deepak Chandrasekaran By Deepak Chandrasekaran JAVA: A Beginner's Guide Oops... I did it Again! Objects and Classes First Java Application Your First Java Applet Statements and Expressions Variable Type & Declaration Variables and Strings Arrays and Overloading in JAVA
By Neeraj Mathur
By Ruchi Gupta
Computing |
|
|
|
|
Analysis |
Architecture |
Astrology |
Ayurveda |
Book Reviews |
Buddhism |
Cartoons | Cinema |
Computing |
Culture |
Dances |
|
Home | Hindi | Bolography | BoloKids | Kabir | Poetry | Quotes | Workshop | Writers | Contribute | Search | Contact |
|
|