Introduction:
*Java=C++ - Complexity + Web Applications*
1.
Java language developed by SUN people,
SUN: Stand
For University Network
Q:
What is language?
Ans: Language is used for communication purpose
Every language depending on 2 conditions
i.
Syntax : it is concentrated on grammar.
ii.
Semantics:
it is concentrated on meaning of the statement.
Types
of Languages:
Languages are basically divided into 3 types
they are
i.
Symbolical
Language: it is used for communication b/w animals.
ii.
Natural
Language: it is used for communication b/w person to person.
Eg: English , Telugu , Hindi etc.
iii. Programming Language: it is used
for communication b/w a programmer and system.
Eg: C , C++ , JAVA , .NET etc.
Levels
of Programming Languages:
S.No
|
Levels
of P.L
|
Generations
of P.L
|
Instruction
format
|
Translator
|
Example
|
1
|
Low
Level
|
1st GEN
|
11000011
|
Binary
Language
|
|
2
|
Mid
level
|
2nd
GEN
|
Mov
AB
|
Assembly
|
Assembly
Language
|
3
|
High
Level
|
3rd
GEN
|
Main()
{
}
|
1.complier
2.Interpreter
|
C
C++
JAVA
.NET
|
4th
GEN
|
Select
* from emp
|
complier
|
Pl/sql,A.I
|
||
5th
|
Note:
Language à Programming Language à Statements à Programs à Software
Statement: it is one type of instruction and
instructing computer to perform a task.
Program: A group of Statements are called
as PROGRAM.
Software: A group of related programs are
called as SOFTWARE.
SOFTWARE
CATEGORIES
Note:
Linker and Loader both are parts of COMPLIER.
Before
conversion source code i.e called as PROGRAM .
After
conversion of source code i.e called as APPLICATION .
Types
of Application Software’s :
Application software basically divided
into two categories they are
i.
Standard
alone applications
ii.
Web
applications
Standard
alone applications:
all system level applications are called as standard alone applications, for
example C, C++
Web
applications:
Any application executed inside a web browser such applications are called as
“web applications”.
Differences
b/w Standard alone and web applications:
Standard alone applications
|
Web applications
|
1.These applications do not wanted
n/w
|
Web applications wanted network
|
2.Command prompt required.
Ex: cmd or command
|
Web browser is required.
Ex: IE opera Mozilla etc.
|
3.Creation, compliation, execution
and output all these are performed on single machine.
|
Creation, compilation both are done
at server side, execution and output performed on client side using web
browser.
|
4.Minimum 1 system is required.
|
Minimum 2 systems are required.
|
5.Example : c, c++
|
Example : java, .net
|
Drawbacks
of C++ :
1. Most of the cases depending on
pointers.
2. Network, web, Gui Applications are not easy to develop.
3. Multithreading applications also
very difficult to develop.
4. Execution handling is not in a
better style.
Note: To overcome all the above
problems we need a special language i.e “JAVA”.
Differences
b/w java and .net:
JAVA
|
.NET
|
1.java is platform independent .
|
1. .net is platform dependent.
|
2.java is open source.
|
2. .net is closed source.
|
3.java is suitable to any technology
or any operating system.
|
3. .net is suitable to only windows
operating system.
|
Note: Because of these problems .net is unable to cross the java so java is better or best language for development of internet applications.
Following figure shows web application, server side and client side technologies.
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteJava Training in Electronic city
How to download notes
Delete