How to begin a variable name with a number, JAVA Programming

How to Begin a Variable Name with a Number?

If you need to starts a variable name along with a digit, prefix the name you'd like to have (e.g. 8ball) along with an underscore, e.g. _8ball. You can also use the underscore to act such as a space in long variable names.

Posted Date: 5/15/2013 1:36:49 AM | Location : United States

Related Discussions:- How to begin a variable name with a number, Assignment Help, Ask Question on How to begin a variable name with a number, Get Answer, Expert's Help, How to begin a variable name with a number Discussions

Write discussion on How to begin a variable name with a number
Your posts are moderated
Related Questions
JavaServer Faces (JSF) framework : JavaServer Faces is a new framework for creating Web applications using Java. JSF gives you with the following main features: Basic us

This exercise will give you some introductory exposure to network programming with sockets. Your task is to demonstrate a minimal server program and client program that can send on

Problem 1 A savings account object holds a non-negative balance, and provides deposit(k ) and withdraw(k ) methods, where deposit(k ) adds k to the balance, and withdraw(k ) subtra

What are Access Specifiers available in Java? Java has four access specifiers, which are enlisted below: Public: public methods, classes and fields can be accessed by ever

writing a program to find common friends with the use of array

Explain the term array and Scope of Variable? Defining the space in that a variable is effective is known as describing the scope of a variable. A variable can be either local

What is Methods in java explain with an example? Data types aren't much use unless you can do things along with them. For this reasons classes have techniques. Fields say what

What is hash Map

Explain Booleans in java? Booleans are named after George Boole, a nineteenth century logician. Every boolean variable has one of two values, true or false. These are not the s