Comparative Programming Languages: Java Features and Analysis Report
VerifiedAdded on 2023/01/12
|20
|4843
|2
Report
AI Summary
This report provides a comprehensive analysis of the Java programming language, focusing on its features and suitability for e-commerce applications. It begins with an introduction highlighting the importance of choosing the right programming language for e-commerce websites, emphasizing Java's object-oriented nature and its ability to handle various aspects such as finance, business, and customer relationships. The report then provides an overview of the Java programming language, detailing its development, object-oriented paradigm, and platform independence. It delves into the core features of Java, including encapsulation, inheritance, polymorphism, and open recursion. The report also discusses the interpretation/compilation methods used in Java, memory management, and scoping features, including garbage collection and the stack and heap memory structures. It explores Java's characteristics such as readability, reliability, and writability. Overall, the report offers a thorough examination of Java's capabilities and its relevance in the context of e-commerce development. This report is contributed by a student to be published on the website Desklib. Desklib is a platform which provides all the necessary AI based study tools for students.

Running head: COMPARATIVE PROGRAMMING LANGUAGES
COMPARATIVE PROGRAMMING LANGUAGE –JAVA
Name of the Student
Name of the University
Author Note
COMPARATIVE PROGRAMMING LANGUAGE –JAVA
Name of the Student
Name of the University
Author Note
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

1COMPARATIVE PROGRAMMING LANGUAGES
Table of Contents
Introduction......................................................................................................................................2
Overview of Java programming language.......................................................................................2
Object oriented programming paradigm......................................................................................4
Interpretation/compilation method used in Java..............................................................................5
Memory management and scoping features....................................................................................6
Scoping features in Java..............................................................................................................8
Specification and rationale for major language features in terms of:..............................................9
Simplicity.....................................................................................................................................9
Orthogonality.............................................................................................................................10
Data types..................................................................................................................................10
Syntax design.............................................................................................................................10
Support for abstraction..............................................................................................................11
Expressivity...............................................................................................................................12
Type checking............................................................................................................................12
Exception handling....................................................................................................................12
Restricted aliasing......................................................................................................................13
Characteristic possessed by Java language....................................................................................13
Readability features...................................................................................................................13
Reliability..................................................................................................................................13
Table of Contents
Introduction......................................................................................................................................2
Overview of Java programming language.......................................................................................2
Object oriented programming paradigm......................................................................................4
Interpretation/compilation method used in Java..............................................................................5
Memory management and scoping features....................................................................................6
Scoping features in Java..............................................................................................................8
Specification and rationale for major language features in terms of:..............................................9
Simplicity.....................................................................................................................................9
Orthogonality.............................................................................................................................10
Data types..................................................................................................................................10
Syntax design.............................................................................................................................10
Support for abstraction..............................................................................................................11
Expressivity...............................................................................................................................12
Type checking............................................................................................................................12
Exception handling....................................................................................................................12
Restricted aliasing......................................................................................................................13
Characteristic possessed by Java language....................................................................................13
Readability features...................................................................................................................13
Reliability..................................................................................................................................13

2COMPARATIVE PROGRAMMING LANGUAGES
Writability..................................................................................................................................14
Conclusion.....................................................................................................................................14
References......................................................................................................................................15
Writability..................................................................................................................................14
Conclusion.....................................................................................................................................14
References......................................................................................................................................15
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

3COMPARATIVE PROGRAMMING LANGUAGES
Introduction
The main objective of this report is describing a language that will be able to overcome
the challenges that are faced with the E-commerce websites. E-commerce website includes
working on different aspects such a finance, business and customer relationships. Thus it
becomes essential to ensure that proper programming language has been implemented with the
E-commerce site so that it can ensure better performance throughout the system. The
implementation of proper programming language will help in flexibility throughout the system
and will also provide better way of handling the data within the site. Thus the report will focus
on describing the main features and functionality that are offered with the chosen language. After
analyzing all the activities and security aspects within the e-commerce website it can be stated
that Java offers extremely developed features that will help in enhancing the functions performed
by the e-commerce site. The programming paradigm that is offered with the java language is
object oriented programming language. The report will describe all the features offered with the
language so that it becomes easy perform the functions and will maintain proper working of the
e-commerce site.
Overview of Java programming language
Java is a programming language that is being developed with the help of object oriented
programming paradigm. Java is mainly a programming language that allows the user to program
the website effectively and offers software for multiple platforms. This language was developed
in the mid of 1990s by James A. Gosling. Java platform is basically used for the purpose of
providing a wide range of environment towards the customers (Mahadik & Thakore, 2016). The
Introduction
The main objective of this report is describing a language that will be able to overcome
the challenges that are faced with the E-commerce websites. E-commerce website includes
working on different aspects such a finance, business and customer relationships. Thus it
becomes essential to ensure that proper programming language has been implemented with the
E-commerce site so that it can ensure better performance throughout the system. The
implementation of proper programming language will help in flexibility throughout the system
and will also provide better way of handling the data within the site. Thus the report will focus
on describing the main features and functionality that are offered with the chosen language. After
analyzing all the activities and security aspects within the e-commerce website it can be stated
that Java offers extremely developed features that will help in enhancing the functions performed
by the e-commerce site. The programming paradigm that is offered with the java language is
object oriented programming language. The report will describe all the features offered with the
language so that it becomes easy perform the functions and will maintain proper working of the
e-commerce site.
Overview of Java programming language
Java is a programming language that is being developed with the help of object oriented
programming paradigm. Java is mainly a programming language that allows the user to program
the website effectively and offers software for multiple platforms. This language was developed
in the mid of 1990s by James A. Gosling. Java platform is basically used for the purpose of
providing a wide range of environment towards the customers (Mahadik & Thakore, 2016). The
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

4COMPARATIVE PROGRAMMING LANGUAGES
main structure and syntax rules that are followed by this programming language are defined by
Java. Java is case sensitive language and hence it becomes essential to ensure that proper
structure is maintained throughout the coding. The programming language uses the concept of
OOP paradigm and supports all the features that are provided with the Object oriented
programming paradigm. Java language is derived from C language hence the coding structure
followed by java is similar to C language. The codes written within the Java are being processed
within {} braces. The Java language starts its processing with the help of packages. Packages are
mainly used a namespace mechanism (Magalhães et al., 2016). These packages are further
divided into classes, methods, variable, constants and many more.
Java programming language offers write once and run anywhere feature. This ensures
that the code written once can be used at any platform. The main reasons behind choosing this
language Java are as follows:
Object oriented: Java focuses on object rather than on procedure. This focuses on
developing the code by relating with real world entities. Thus it becomes easy to extend the
codes as it is prepared based on the object model.
Platform independent: Java is a platform independent language and can be run over any
machine. However the languages other than Java are not platform independent and hence they
cannot be compiled in other platform (Mandal & Naskar, 2017). Java generates a byte code that
can be distributed over the internet and this are further interpreted by the java virtual machine so
that it can be used over any platform easily.
main structure and syntax rules that are followed by this programming language are defined by
Java. Java is case sensitive language and hence it becomes essential to ensure that proper
structure is maintained throughout the coding. The programming language uses the concept of
OOP paradigm and supports all the features that are provided with the Object oriented
programming paradigm. Java language is derived from C language hence the coding structure
followed by java is similar to C language. The codes written within the Java are being processed
within {} braces. The Java language starts its processing with the help of packages. Packages are
mainly used a namespace mechanism (Magalhães et al., 2016). These packages are further
divided into classes, methods, variable, constants and many more.
Java programming language offers write once and run anywhere feature. This ensures
that the code written once can be used at any platform. The main reasons behind choosing this
language Java are as follows:
Object oriented: Java focuses on object rather than on procedure. This focuses on
developing the code by relating with real world entities. Thus it becomes easy to extend the
codes as it is prepared based on the object model.
Platform independent: Java is a platform independent language and can be run over any
machine. However the languages other than Java are not platform independent and hence they
cannot be compiled in other platform (Mandal & Naskar, 2017). Java generates a byte code that
can be distributed over the internet and this are further interpreted by the java virtual machine so
that it can be used over any platform easily.

5COMPARATIVE PROGRAMMING LANGUAGES
Simple structure: Java is one of the simplified languages that helps the users to access
the codes easily. The design of this language is easy to understand and learn. This is basically
developed on the concepts of OOP.
Secure: java offers a secure feature that helps the user to develop code without any virus
and does not allows any unauthorized person to tamper with the system. The java platform
ensures proper authentication techniques that use the public key encryption method (Savitch,
2017). With the help of this it becomes easy to manage the codes.
Robust: java makes the effort for eliminating the errors that has the chances to cone
while running a particular program.
Dynamic: java programming language is considered to be one of the most dynamic
languages as it is being developed in a way that helps in evolving with environment. This can be
easily used for the purpose of accessing the code at run-time.
Effective community support: apart from all the benefits one of the important benefit
that is offered with Java programming language is that it offers a huge community support
throughout the site. Thus enhances the working and also ensures that the community members
are allowed to share their knowledge (Madsen, Zarifi & Lhoták, 2018). The open source java
developers help in testing the source code and also ensure that the codes are being developed
effectively.
Object oriented programming paradigm
The main concept of object oriented programming paradigm is that it focuses on objects
that will be able to hold data in the form of fields and code that are basically referred to methods.
This paradigm is mainly class based and objects are referred to as the instances of class (Liang,
Simple structure: Java is one of the simplified languages that helps the users to access
the codes easily. The design of this language is easy to understand and learn. This is basically
developed on the concepts of OOP.
Secure: java offers a secure feature that helps the user to develop code without any virus
and does not allows any unauthorized person to tamper with the system. The java platform
ensures proper authentication techniques that use the public key encryption method (Savitch,
2017). With the help of this it becomes easy to manage the codes.
Robust: java makes the effort for eliminating the errors that has the chances to cone
while running a particular program.
Dynamic: java programming language is considered to be one of the most dynamic
languages as it is being developed in a way that helps in evolving with environment. This can be
easily used for the purpose of accessing the code at run-time.
Effective community support: apart from all the benefits one of the important benefit
that is offered with Java programming language is that it offers a huge community support
throughout the site. Thus enhances the working and also ensures that the community members
are allowed to share their knowledge (Madsen, Zarifi & Lhoták, 2018). The open source java
developers help in testing the source code and also ensure that the codes are being developed
effectively.
Object oriented programming paradigm
The main concept of object oriented programming paradigm is that it focuses on objects
that will be able to hold data in the form of fields and code that are basically referred to methods.
This paradigm is mainly class based and objects are referred to as the instances of class (Liang,
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

6COMPARATIVE PROGRAMMING LANGUAGES
2017). The main features that are offered with object oriented paradigm includes encapsulation,
inheritance, and polymorphism and open recursion.
Encapsulation is referred to the process in which the data and functions are encapsulated
so that it can prevent unauthorized person from accessing the data. This helps in hiding
the data from outside people. This ensures that the variables present within the system is
private and can be accessed only when they are provided with proper access permission
(Lancia & Bouffard, 2015). This also provides public setter and getter methods for the
purpose of modifying the variable values.
Inheritance feature is one of the most important features of OOP that allows the code to
inherit data from previous codes. This is referred to as parent classes and the newly
formed class is known as the child class. The functions can be easily inherited from the
parent class.
Polymorphism is referred when a same code is being called by different classes to
perform the same activity (Rosà et al., 2016). This has the ability of object to take any
form. The main use of this feature is that when a parent class uses the class methods for
referring to the child class.
Open recursion is a feature that helps object method to call other objects for the aim of
performing same function. The key words that are used include this or self.
Interpretation/compilation method used in Java
In order to perform the compilation process within the Java, the complier used is Java
compiler. Java compiler is used for the purpose of programming the java. Java virtual machine
load the class files and interprets into the byte codes so that it can be used by the programmer
2017). The main features that are offered with object oriented paradigm includes encapsulation,
inheritance, and polymorphism and open recursion.
Encapsulation is referred to the process in which the data and functions are encapsulated
so that it can prevent unauthorized person from accessing the data. This helps in hiding
the data from outside people. This ensures that the variables present within the system is
private and can be accessed only when they are provided with proper access permission
(Lancia & Bouffard, 2015). This also provides public setter and getter methods for the
purpose of modifying the variable values.
Inheritance feature is one of the most important features of OOP that allows the code to
inherit data from previous codes. This is referred to as parent classes and the newly
formed class is known as the child class. The functions can be easily inherited from the
parent class.
Polymorphism is referred when a same code is being called by different classes to
perform the same activity (Rosà et al., 2016). This has the ability of object to take any
form. The main use of this feature is that when a parent class uses the class methods for
referring to the child class.
Open recursion is a feature that helps object method to call other objects for the aim of
performing same function. The key words that are used include this or self.
Interpretation/compilation method used in Java
In order to perform the compilation process within the Java, the complier used is Java
compiler. Java compiler is used for the purpose of programming the java. Java virtual machine
load the class files and interprets into the byte codes so that it can be used by the programmer
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

7COMPARATIVE PROGRAMMING LANGUAGES
while executing the codes. The codes are written in .java files and then these are compiled by the
Java compiler (Pombrio, Krishnamurthi & Fisler, 2017). Byte code is basically referred to the set
of instructions that are provided for the purpose of accessing on the Java Virtual machine.
Moreover the abstraction process of java compiler is different from other languages and is
suitable for the CPU. The java virtual machine interprets the codes at runtime and executes the
program files along with instruction. The java virtual machine reads and interprets .class files
and executes the programs as per the instruction provided on the native hardware platform. Java
virtual machine starts interpreting the byte code as soon as the CPU interprets the assembly
language. The java virtual machine acts as the core component for java language and helps in
interpreting the codes into different forms. This offers the principle write once and run anywhere
(Jackson, 2016). Java virtual machine is available for all the major platforms and ensures that
multiple interfaces can be provided towards the system. It is expected that with the use of java
compiler the codes executed will be much more efficient towards the programmer.
Memory management and scoping features
Java is one of the modern object oriented programming language that is developed with
all useful features. Java includes a frequent occurrence of phenomenon that is mainly related
with memory management. This mainly deals with memory creation and destruction with the
help of temporary objects. Java temporary objects are referred to the objects where two strings
are concatenated as a result of this a String buffer gets created. Two java string objects cannot be
simply added thus in order to provide support a StringBuffer is being used that helps in
constructing the resultant java string object. The scoped memory concept of java helps in
allocating the fixed amount of memory to a string and also allocated the time period so that the
while executing the codes. The codes are written in .java files and then these are compiled by the
Java compiler (Pombrio, Krishnamurthi & Fisler, 2017). Byte code is basically referred to the set
of instructions that are provided for the purpose of accessing on the Java Virtual machine.
Moreover the abstraction process of java compiler is different from other languages and is
suitable for the CPU. The java virtual machine interprets the codes at runtime and executes the
program files along with instruction. The java virtual machine reads and interprets .class files
and executes the programs as per the instruction provided on the native hardware platform. Java
virtual machine starts interpreting the byte code as soon as the CPU interprets the assembly
language. The java virtual machine acts as the core component for java language and helps in
interpreting the codes into different forms. This offers the principle write once and run anywhere
(Jackson, 2016). Java virtual machine is available for all the major platforms and ensures that
multiple interfaces can be provided towards the system. It is expected that with the use of java
compiler the codes executed will be much more efficient towards the programmer.
Memory management and scoping features
Java is one of the modern object oriented programming language that is developed with
all useful features. Java includes a frequent occurrence of phenomenon that is mainly related
with memory management. This mainly deals with memory creation and destruction with the
help of temporary objects. Java temporary objects are referred to the objects where two strings
are concatenated as a result of this a String buffer gets created. Two java string objects cannot be
simply added thus in order to provide support a StringBuffer is being used that helps in
constructing the resultant java string object. The scoped memory concept of java helps in
allocating the fixed amount of memory to a string and also allocated the time period so that the

8COMPARATIVE PROGRAMMING LANGUAGES
system can understand at what time the memory will be freed (Horstmann, 2016). This helps in
defining a boundary and brings predictability within the memory management. With the help of
proper predictability real time programming becomes easier. Memory management in java is
divided in old generation and young generation. The young generation basically referred to the
place where all the newly created objects are stored. With the complete filling of young
generation the garbage collection takes place (Nowicki, Górski & Bała, 2017). This garbage
collection is named as Minor GC. This generation is basically divided into three parts that are
Eden memory and two survivor memory spaces. The main points associated with the java young
generation space are as follows:
The newly created objects are placed within the Eden space memory.
Once the space of Eden memory gets filled with newly objects than the Minor GC starts
performing its activity and all the survivor objects are transferred to one of the survivor
spaces.
Minor GC manages all the space effectively so that it can ensure proper freed space is
provided towards the users.
The object that remains available after all the garbage removal process is further is
further moved to old generation memory space.
Apart from this the old generation memory management in java contains the objects that
has lived for a longer time and has survived all the major removal round performed by
garbage collector. Java garbage collector starts its process for the purpose of identifying and
removing the unused objects that are present within the memory. This helps in freeing the
space so that it can allocate it to newly created objects for the purpose of future processing.
Java programming language offers one of the most attractive features that is it offers
system can understand at what time the memory will be freed (Horstmann, 2016). This helps in
defining a boundary and brings predictability within the memory management. With the help of
proper predictability real time programming becomes easier. Memory management in java is
divided in old generation and young generation. The young generation basically referred to the
place where all the newly created objects are stored. With the complete filling of young
generation the garbage collection takes place (Nowicki, Górski & Bała, 2017). This garbage
collection is named as Minor GC. This generation is basically divided into three parts that are
Eden memory and two survivor memory spaces. The main points associated with the java young
generation space are as follows:
The newly created objects are placed within the Eden space memory.
Once the space of Eden memory gets filled with newly objects than the Minor GC starts
performing its activity and all the survivor objects are transferred to one of the survivor
spaces.
Minor GC manages all the space effectively so that it can ensure proper freed space is
provided towards the users.
The object that remains available after all the garbage removal process is further is
further moved to old generation memory space.
Apart from this the old generation memory management in java contains the objects that
has lived for a longer time and has survived all the major removal round performed by
garbage collector. Java garbage collector starts its process for the purpose of identifying and
removing the unused objects that are present within the memory. This helps in freeing the
space so that it can allocate it to newly created objects for the purpose of future processing.
Java programming language offers one of the most attractive features that is it offers
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

9COMPARATIVE PROGRAMMING LANGUAGES
automatic garbage collection. This is not present in other languages and hence it ensures an
efficient way of managing the details for further processing. There are several types of java
garbage collector available that are used for performing different types of management
towards thee memory.
Further memory structure of java is divided into two big parts this are stack and heap.
Heap memory contains a lot of data as compared to stack memory. Stack memory is mainly
responsible for storing the references to heap objects and also stores the value types. This
stores thee value itself rather than referring to a heap. The visibility of the variables stored
within the stack has a certain level and hence this is called as scope (Hoffman, 2016). On the
other hand the heap part stores the real objects within the memory and is basically references
by the variables form stack. In order to ensure that proper memory is available towards the
users “new” keyword is being used. Moreover java also offers different types of referencing
objects this are strongly reference, weak reference, soft and phantom references. This is
mainly used for referring to the objects that are eligible for garbage collecting process.
Scoping features in Java
Scope of a variable is basically used for the purpose of defining the section of code in
which the variables will be available. Java ensures a general rule that states a lifetime of a code is
till its block and cannot be accessed outside its block. This is used mainly for the purpose of
checking the lifetime of a variable so that it can be understood for how long the variable will
exist. However apart from all this one of the major difference between this three types of
variables is that access specifies are only used for instance variables. Thus it can be stated that
scope of a variable is basically referred to the lifetime of an object and are determined by the
automatic garbage collection. This is not present in other languages and hence it ensures an
efficient way of managing the details for further processing. There are several types of java
garbage collector available that are used for performing different types of management
towards thee memory.
Further memory structure of java is divided into two big parts this are stack and heap.
Heap memory contains a lot of data as compared to stack memory. Stack memory is mainly
responsible for storing the references to heap objects and also stores the value types. This
stores thee value itself rather than referring to a heap. The visibility of the variables stored
within the stack has a certain level and hence this is called as scope (Hoffman, 2016). On the
other hand the heap part stores the real objects within the memory and is basically references
by the variables form stack. In order to ensure that proper memory is available towards the
users “new” keyword is being used. Moreover java also offers different types of referencing
objects this are strongly reference, weak reference, soft and phantom references. This is
mainly used for referring to the objects that are eligible for garbage collecting process.
Scoping features in Java
Scope of a variable is basically used for the purpose of defining the section of code in
which the variables will be available. Java ensures a general rule that states a lifetime of a code is
till its block and cannot be accessed outside its block. This is used mainly for the purpose of
checking the lifetime of a variable so that it can be understood for how long the variable will
exist. However apart from all this one of the major difference between this three types of
variables is that access specifies are only used for instance variables. Thus it can be stated that
scope of a variable is basically referred to the lifetime of an object and are determined by the
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

10COMPARATIVE PROGRAMMING LANGUAGES
location they are being described in. There are mainly three times of variables available that are
instance variables, local and argument variables.
Instance variables are referred to those variables that are defined within the class and
cannot be used outside it in any other constructor or method. The scope of this variables are
limited to its class and are determined with the help of access specified that is basically applied
to these variables. The lifetime offered to this variables are same as the life time offered to the
objects.
Argument variables are mainly defined at the header part of the constructor or a method.
The scopes of these variables are limited to the constructor in which they are being defined. The
lifetime is limited to these method itself and it gets destroyed as soon as the program ends it
execution process.
Local variables are one of the variables that are being declared within a method. Thus the
scope of the variables is limited to its method only.
Specification and rationale for major language features in terms of:
Specification of a programming language is basically referred towards the official
documents that are needed to be followed by the users while using the language. Java language
and virtual machine specifications are divided into different editions. The specification includes
the types and values that are offered towards an object. The different types available are
primitive type, reference types, operators on Boolean, operators on flotation and operators on
integral values.
location they are being described in. There are mainly three times of variables available that are
instance variables, local and argument variables.
Instance variables are referred to those variables that are defined within the class and
cannot be used outside it in any other constructor or method. The scope of this variables are
limited to its class and are determined with the help of access specified that is basically applied
to these variables. The lifetime offered to this variables are same as the life time offered to the
objects.
Argument variables are mainly defined at the header part of the constructor or a method.
The scopes of these variables are limited to the constructor in which they are being defined. The
lifetime is limited to these method itself and it gets destroyed as soon as the program ends it
execution process.
Local variables are one of the variables that are being declared within a method. Thus the
scope of the variables is limited to its method only.
Specification and rationale for major language features in terms of:
Specification of a programming language is basically referred towards the official
documents that are needed to be followed by the users while using the language. Java language
and virtual machine specifications are divided into different editions. The specification includes
the types and values that are offered towards an object. The different types available are
primitive type, reference types, operators on Boolean, operators on flotation and operators on
integral values.

11COMPARATIVE PROGRAMMING LANGUAGES
Simplicity
Java offers easy way to learn the language and also offers simple syntax that can be easily
understood by a beginner. The reason behind considering java as one of the simplified language
is that the syntax is being developed based on C++. Thus it becomes easy to understand the
codes after learning C++. In addition to this with the evaluation of the language it is observed
that the java language has removed several complicated and rarely used features such as explicit
pointers, operator overloading and many more. Apart from all this the java language has also
included automatic garbage collection that ensures the unreferenced objects are being removed
automatically without any explicit command.
Orthogonality
Orthogonality of Java is referred to the concept used for describing the maintainability
and modularity of the software. This enables the user to establish relatively simple mental model
for developing complex application use cases. Orthogonality reduces the complexity that is
brought towards the software programs. This includes breaking down the complicated
movements of points is that they can be manipulated easily based on the powerful idea.
Data types
The different types of data that are offered with java include primitive data type and non
primitive data types. The primitive data types includes Boolean, byte, short, int, long, float and
char. On the other hand non primitive data types include classes, arrays and interfaces. The
different data types are used for storing different default values. The default value of Boolean
false and default size 1 bit. The char default size is 2 byte; byte offers a default size of 1 byte. On
Simplicity
Java offers easy way to learn the language and also offers simple syntax that can be easily
understood by a beginner. The reason behind considering java as one of the simplified language
is that the syntax is being developed based on C++. Thus it becomes easy to understand the
codes after learning C++. In addition to this with the evaluation of the language it is observed
that the java language has removed several complicated and rarely used features such as explicit
pointers, operator overloading and many more. Apart from all this the java language has also
included automatic garbage collection that ensures the unreferenced objects are being removed
automatically without any explicit command.
Orthogonality
Orthogonality of Java is referred to the concept used for describing the maintainability
and modularity of the software. This enables the user to establish relatively simple mental model
for developing complex application use cases. Orthogonality reduces the complexity that is
brought towards the software programs. This includes breaking down the complicated
movements of points is that they can be manipulated easily based on the powerful idea.
Data types
The different types of data that are offered with java include primitive data type and non
primitive data types. The primitive data types includes Boolean, byte, short, int, long, float and
char. On the other hand non primitive data types include classes, arrays and interfaces. The
different data types are used for storing different default values. The default value of Boolean
false and default size 1 bit. The char default size is 2 byte; byte offers a default size of 1 byte. On
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 20
Related Documents
Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.





