OOP's Home Assignment
OOP's Home Assignment
OOP's Home Assignment
HOME ASSIGNMENT
Object Oriented Programming
TITLE
Survey: How Java Impacted on Internet ?.
BATCH : B3
Group : 4
GROUP MEMBERS
Guided by :
Prof. Pramod Patil Sir
1
SR.NO CONTENT PAGE NO
1 Title 3
2 Objective 3
3 Description 3-10
5 Conclusion 11
6 References. 12
CONTENT
2
Survey: How Java Impacted on
Internet?
Objective :
The main objective of this survey is to identify how many people have
knowledge about the impact of Java on Internet by taking the responses from
them and we can get the better information about the impact of Java on them.
From this we can get to know is the Idea of Java can be helpful or can say will
be compatible to the programmers .
Description :
Java is a general-purpose programming language that is class-based and
object-oriented. The programming language is structured in such a way that
developers can write code anywhere and run it anywhere without worrying
about the underlying computer architecture. It is also referred to as write once,
run anywhere (WORA). This means Java code compiled once can be run on all
platforms that run Java Runtime Environment without the need for
recompilation.
3
programming, Java invented a new type of networked program called the applet
that changed the way the online world thought about content on the web. Java
also addressed some of the sharpest issues associated with the Internet i.e.
portability and security.
Internet is imperfect is if it lacks the feature of portability because there are
many different types of computers and operating systems connected to it. If a
Java program were to be run on any computer connected to the Internet, there
needed to be a way to enable that program to execute on different systems. In
the case of an applet, the same applet must be able to be downloaded and
executed by the wide range of CPUs, operating systems, and browsers
connected to the Internet. It is not practical to make different versions of the
applet for different computers and environments. It is necessary that the same
code must work on all computers. So, the applet fulfills the needs of generating
portable executable code. As the same mechanism that helps ensure security
also helps create portability.
An applet is specifically designed to be executed within an HTML web
document using an external API. They are basically small programs – more like
the web version of an application – that require a Java plugin to run on a client
browser. They run on the client-side and are generally used for internet
computing. You can execute a Java applet on an HTML page exactly as you
would include an image in a sen page. When you see an HTML page with an
applet in a Java-enabled web browser, the applet code gets transferred to the
system and is finally run by the Java-enabled virtual machine on the browser.
Thus java applets successfully change the way of using the internet on devices.
Benefits of Java
Java is an Object-Oriented and a general-purpose programming language that
helps to create programs and applications on any platform
Object Oriented − In Java, everything is an Object. Java can be easily
extended since it is based on the Object model.
Platform Independent − Unlike many other programming languages
including C and C++, when Java is compiled, it is not compiled into
platform specific machine, rather into platform independent byte code.
4
This byte code is distributed over the web and interpreted by the Virtual
Machine (JVM) on whichever platform it is being run on.
Simple − Java is designed to be easy to learn. If you understand the basic
concept of OOP Java, it would be easy to master.
Secure − With Java's secure feature it enables to develop virus-free,
tamper-free systems. Authentication techniques are based on public-key
encryption.
Architecture-neutral − Java compiler generates an architecture-neutral
object file format, which makes the compiled code executable on many
processors, with the presence of Java runtime system.
Portable − Being architecture-neutral and having no implementation
dependent aspects of the specification makes Java portable. Compiler in
Java is written in ANSI C with a clean portability boundary, which is a
POSIX subset.
Robust − Java makes an effort to eliminate error prone situations by
emphasizing mainly on compile time error checking and runtime
checking.
Multithreaded − With Java's multithreaded feature it is possible to write
programs that can perform many tasks simultaneously. This design
feature allows the developers to construct interactive applications that can
run smoothly.
Interpreted − Java byte code is translated on the fly to native machine
instructions and is not stored anywhere. The development process is more
rapid and analytical since the linking is an incremental and light-weight
process.
High Performance − With the use of Just-In-Time compilers, Java
enables high performance.
Distributed − Java is designed for the distributed environment of the
internet.
Dynamic − Java is considered to be more dynamic than C or C++ since it
is designed to adapt to an evolving environment. Java programs can carry
extensive amount of run-time information that can be used to verify and
resolve accesses to objects on run-time.
i. Disadvantages of Java.
While there are many advantages to using Java, it’s not free of downsides or
room for improvement. Some of the disadvantages are:
5
of JRE, which requires more resources. Memory consumption is high as
applications have to run on top of a Java virtual machine.
2. UIs built using Java are less attractive. There are multiple Java frameworks
to create UIs for applications, but none of them are advanced enough to handle
complex UI elements that can be easily achieved by programming languages
such as JavaScript.
4. Garbage collectors provided with Java are automatic. That may seem like an
advantage, but it does not provide any facility for programmers to control
garbage collection. This is a problem when advanced functionalities are coded
in Java.
6
1. What is the best thing about the programming language you
would prefer before choosing any one language ?
So, From the response we got to know 26.2% people prefer Simple, Easy
to learn and Code programming language ; 20% people prefer the language
which is easy to share and Implement ; 35.4% prefer language with higher
Industry Demand ; 18.5% people prefers their favourite Programming Language
they always want to learn.
7
2. If you got an option to choose one programming language to
learn , which would it be ??.
32.3% people chooses Python; 50.8% people chooses Java; 7.7% people
chooses C++; 7.7% people chooses PHP. Most of the users prefer python and
java .Nearly 42% users prefers Java because java is simple to learn as well as
purely object oriented programming language,Where as 45 % users prefer
Python because it has simplified syntax and not complicated, which gives more
emphasis on natural language.
The response which we’ve obtained for the above question is that 78.5% users
use Visual studio code as their Editor for coding Because VS code support
many programming languages. VS Code can helps to get instantly productive
with syntax highlighting, bracket-matching, auto-indentation, box-selection,
snippets, and more. Intuitive keyboard shortcuts, easy customization and
community-contributed keyboard shortcut mappings let you navigate your code
with ease.
8
4. Are You Aware Of Java ?
From this question we came to know that 90.8% people are aware
Because JAVA is highly poplular and its very easy for app development
and also java is multipurpose language .
9
6. What would you like to do with your chosen Programming
Language after learning it ?
Mostly 36.9 % people chosen java for web development and 32.3% as
job purpose and rest of people use it for their own purpose like game
development ,competetive coding preparation
So, according to our survey 47.7 people thinks that java is a demanding
language and 23.1% people thinks python is in demand.
10
8. Have You done any Projects in Java
75.4% people have worked an have done projects in Java which is a high ratio.
11
10. What features of Java Applet is most liked by you ?
11. Do you know that there are many highest paying jobs as java
developers in India and All over the world.
92.3% people know that there are many highest paying jobs as java developers
in India and all over the world.
12
12.Do you want to do your job as a full time Java Developer , If you
got a chance?
Conclusion:
From this survey which we have taken we came to know the
awareness of java in user by taking their responses in google form.
From this survey we came to know that most of users prefers java
because it is object oriented programming and it is simple to
implement . Also java is one of most popular language used in
different domains such as android development, game development
and web development.
References:
1. https://www.aternity.com/blogs/what-is-java-used-for/
2. https://www.guru99.com/java-platform.html
3. https://en.wikipedia.org/wiki/Java_(programming_language)
4. https://www.tutorialspoint.com/java/java_overview.htm
5. https://www.tutorialspoint.com/java/java_overview.htm
13