Semester : SEMESTER 6
Subject : Embedded System
Year : 2018
Term : MARCH
Scheme : 2015 Full Time
Course Code : EC 308
Page:75
5.7.2 Java Programming Advantages ae
i follows:
$ tages for embedded programming as 2 ۱ ۱
ا یں ನ وأا سس an OOP language. Java program starts with classes. Application | 58
५९ asses, objects and interfaces.
¬ دوں: سر எண்களை கண class lib: n the network that makes program development quick,
ಹ & [4 പിച്
3 ra has extensibility.
4. - has in-built support for creating multiple threads. It obviates the need for an OS-based ऽ
for handling threads. ۱ | ۱
5. Java ന codes. byte codes, These execute on an installed JVM (Java virtual machine) on a mac
Virtual machine takes the Java byte codes in the input and runs on the given platform (0
system and OS). [Virtual machine (VM) in embedded systems is stored at the ROM. | Therefore,
codes can host on diverse platforms. Platform independence in hosting the compiled codes
Java for network applications.
6. Platform independence gives portability with respect to the processor and OS used. Java is consi
as write once and run anywhere.
7. Java is the language for most Web applications for most Web applications and allows machines of different types to communi
8. Java is ೨೩೮1 10 Jeam by a C++ programme Si eam b ۴
9. Java does not permit pointer manipulation | instructions. So it is robust in the sense that memory ॥
and memory-related errors do not occur. A memory leak occurs, for example, when attempti
write after the end of a bounded array.
10. Java does not permit dual way of object manipulation by value and reference. There are no
enum, typedef and union. Java does not permit multiple inheritances. Java does not permit o
overloading except for the ‘plus’ sign used for string concatenation.
5.7.3 Disadvantages of Java sak
Java has following disadvantages for embedded programming as follows: