2/11/2018 Mobile Application Development 1
2/11/2018 Mobile Application Development 1
Development
Note: No favour will be done out of the way and neither should be expected
•Any Suggestion?
1. Standalone Application
2. Web Application
3. Enterprise Application
4. Mobile Application
• When one object acquires all the properties and behaviors of parent
object i.e. known as inheritance. It provides code reusability. It is used
to achieve runtime polymorphism.
• Binding (or wrapping) code and data together into a single unit is
known as encapsulation. For example: capsule, it is wrapped with
different medicines.
• A virtual processor
• Interpreter: Read bytecode stream then execute the instructions.
• Just-In-Time(JIT) compiler: It is used to improve the performance. JIT
compiles parts of the byte code that have similar functionality at the
same time, and hence reduces the amount of time needed for
compilation. Here the term ?compiler? refers to a translator from the
instruction set of a Java virtual machine (JVM) to the instruction set of
a specific CPU.
It is because java uses Unicode system than ASCII code system. The \u0000 is the lowest range of
Unicode system. To get detail explanation about Unicode visit next page.
• Unary Operator,
• Arithmetic Operator,
• shift Operator,
• Relational Operator,
• Bitwise Operator,
• Logical Operator,
• Ternary Operator and
• Assignment Operator.
additive +-
equality == !=
bitwise exclusive OR ^
bitwise inclusive OR |
logical OR ||
Ternary ternary ?:
Name Convention
• A variable which is created inside the class but outside the method, is
known as instance variable. Instance variable doesn't get memory at
compile time. It gets memory at run time when object(instance) is
created. That is why, it is known as instance variable.
• The new keyword is used to allocate memory at run time. All objects
get memory in Heap memory area.
1. By reference variable
2. By method
3. By constructor
• The static method can not use non static data member or call non-
static method directly.
• this and super cannot be used in static context.