You are on page 1of 9

JAVA

Assignment 1
C & C++
Programming in C C++
Developed by Dennis Developed by Bjarne
Ritchie. Stroustrup.
Procedural programming Object oriented
language. programming.
Top down approach. Bottom up approach.
Procedural programming
language Object oriented programming
Divided into functions. Divided into objects.
Does not have any access Access specifiers named
specifier. public, private, protected.
Data is less secure. Data is secure.
Top to bottom approach. Bottom to top approach.
Keywords- reserved words that has special
meaning.
Data types- specifies which type of value a
variable has.
Punctuators-have their own syntactic and
semantic significance.
Character set- combination of characters like
alphabets, digits and special symbols.
Operator- is a symbol that tells which
operation to be performed.
Program- collection of instructions that
performs a specific task that is executed by
the computer.
Programming language- process of writing or
editing a source code. It is used to create
programs.
Windows application Web application

Can be installed and Can be installed on a web


accessed only in windows browser and accessed from
os. any system via a network.
One user at a time. Multiple users at a time.
USER INTERFACE
Junction between a user and a computer
program.
Set of commands and menus.
Determines how easily we can make a
program do what we want.
COMPONENTS OF OBJECT ORIENTED
PROGRAMMING
Objects- basic run-time entities.
Encapsulation- associates the code and the data it
manipulates in a single unit to keep them safe.
Data abstraction- simplified view of an object that
include only needed features and hide others.
Inheritance- means of specifying hierarchical
relationships.
Polymorphism- means the same thing can exist in
two forms.
Console Application-designed to be used via a
text-only computer interface, command line
interface of some operating system.
Windows Application- program written to run
under the microsoft windows operating
system.

You might also like