Java Basics Concepts for Android Training in Chandigarh

Discussing Variable, Methods and Data types in Android : Java Basics for Android Training in Chandigarh 

Android Training in Chandigarh

Today we will learn some basic concept for learning android with Android Training in Chandigarh

Methods : Most objects have a certain collections of things that they can do. Different objects can do different things, just as door can open and close, while a light can turn off and On. A new document is opened with the method document.open( ). You can write “Hello Hows you “ into a document by typing document write (“hello hows you”) open() and write() are both methods of the object document.

Data-types : A computer works with values : It manipulates values and produce some kind of result. Depending on the program, It may be limited as to what type of values it can work with. The types of values a program can work with are known as its data types.

Java-script procedure become powerful with the help of number of data-types linked with it. Data Types vary according to their use. Different compilers have different
Data-types. Actually variable type depends on the data types. Data types is the description of nature of data either in numeric forms. Variables can be these types :

  1. Numbers :  i. Integers  ii. Floating points numbers
  2. Boolean's
  3. Strings
  4. Objects
  5. Null
  6. Undefined

Integers : Integers can be positive , 0 or negative , Integers can be expressed in decimal (base 10), hexadecimal (base 16), and octal (base 8). A decimal integer literal consist of a sequence of digits without a leading 0.

Boolean s : Boolean's comes under TRUE and FALSE. The possible Boolean values are true and false. There are special values, and are not usable as 1 and 0. In a comparison any expression that evaluates to a 0 is taken to be false, and any statement that evaluates to a number other than 0 is taken to be TRUE.

Strings : Strings are  displayed by single or double quotation marks.

Objects : myObj = new Object ();

Null : Not the same as Zero - no value at all. A null value is one that has no value and means nothing.
 
Undefined :   The value which is created which is held by a variable, after it has been created.

Variables : Variables are those quantities whose value can vary during the execution of the program. Variable displays the  memory locations which are given names and these locations are referred in the program by variable names to read and write data in it. Variables are for entering the information or data used for identification.In variable user can display real or character value or also can enter integer value . According to the requirement, So we can say that variable are either of integer or float type

Android Training institute in Chandigarh


We are premier organization for Android Training in Chandigarh. Our Training methodology is based on practical training where we have designed Live problem solving environment and with this aspirants get chance to do work on versatile industry based assignments. These concepts are in the theoretical form to learn in practical form

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.