2. About Us
We Alpran Software Pvt. Ltd. (ASPL) are 18 years old institute in the
field of Education & Training .
We have trained more than lakhs of candidates during the period in
University courses, IT/ITeS, Insurance, PMKVY 1.0, PMKVY 2.0 …
Now we have added one more feature with us – HR Consultancy .. .
Few of our renowned partners are TCS Varanasi, Kotak Mahindra,
Whirlpool, Team lease …etc
3. Courses offered -
Operating System: MS WINDOWS, Red Hat Linux
Programming Languages: C, C++, Java, Android, .Net,PHP,HTML5, JavaScript,
Databases: SQL Server 2008 , Oracle 10g and 11g , MySql
Technologies: .NET Framework 3.5, ASP.NET 3.5, Servlet, JSP, Struts
Tools and Other Utilities: Microsoft Visual Studio.NET, Microsoft Office,
TallyErp9 with GST, AutoCAD, DTP ,
Industrial Training: JAVA, Dot Net, PHP, Android etc..
Skill enhancement: Personality Development and Soft skills
Interview preparation
13. Object-Oriented Approach
CLASS-
It is group of object which have common structure and behavior.
It is blueprint of objects that describes the state, behavior,
identity and responsibility of objects.
OBJECT-
An object is an entity which have a well defined structure and
behavior.
An object has certain characteristics as-
1. State- The state of an object include current value of all its attributes.
2. Behavior:-it is how an object acts and reacts, in term of its state change
and message passing.
3. Identity-it is that property of an object which distinguishes it from all
other objects.
4. Responsibility-it is the role it serves within the system.
14. Object-Oriented Approach
Abstraction-
Abstraction is the process of identifying the key aspect of an
entity and ignoring the rest.
Only those aspect are selected that are important to the
current problem scenario.
Encapsulation-
Encapsulation is mechanism used to hide data, Internal
structure and implementation details of an object.
15. Object-Oriented Approach
Inheritance -
It is the process by which one object acquire the of
other objects.
Polymorphism-
The word polymorphism combined from two words:
ploy means many and multiple is form. Thus,
polymorphism is the ability to take more than one
form.
Containment-
One object contain another as a parts of its attribute.
16. About Language
1. Natural Language:-
It is medium of communication through which we can
share our emotions and ideas with each other.
for Ex- Hindi, English etc.
2. Computer Language:-
It provide us medium through which human beings
and machine both communicate with each other.
for Ex- C,C++, Java etc.
17. Origin of Java
In early 1960s Many languages were used to develop
Application Software but only for specific purpose for example-
FORTRAN ( FORmula TRANslator ) language was used to
develop application software only for Scientific or engineering
purpose where as COBOL(Common Business Oriented Language)
language was used to develop application software only for
Commercial purpose.
In those days there was no special language available through
which programmer can developed any purpose related
application software therefore, to overcome this problem
ALGOL-60 Language was developed by International committee
in 1960.
19. History
Java is a general purpose, object oriented , Simple, Reliable,
portable, secure, platform independent and power full
language.
It was developed by Sun Microsystem of USA in 1991 and
originally called Oak by James Gosling. Oak was renamed by
java in 1995, due to some legal snags (problem).
The First version of Java began in 1991, and was written in 18
month at Sun Microsystem . In Fact, It was not even called
JAVA in those days… It was called Oak , and it was internally
used at sun.
It is a “Case-Sensitive” language therefore it differentiate
between upper case and lower case.
Java program file extension is “.java”
20. Java Features
1. Compiled and interpreted.
2. Platform Independent.
3. Portable
4. Multithreaded
5. Simple & Small
6. Object Oriented
21. Java Feature
Usually , a computer language is either compiled or
interpreted but JAVA combines both these approaches
thus making a java two stage system.
First stage Java Compiler translate java source code
instruction to byte code. Byte codes are not a pure
machine code instruction.
Second stage, Java interpreter generate machine code
that can be directly executed by the machine that is
running the Java Program.
22. Java Features
"Write once, run anywhere" (WORA), or sometimes "write
once, run everywhere" (WORE), was a slogan created by Sun
Microsystems to illustrate the cross-platform benefits of the
Java language.
Platform independent language means once compiled you
can execute the program on any platform (OS + Processor).
Java Program can be easily moved from one computer to
another, any where any time ,changes in system resources
and upgrade in operating system, processor will not force
any change in java program.
23. Java Features
Java insure portability in two ways-
First Java Compiler generate byte code that can be
implemented on any machine.
Secondly, the size of primitive data type are machine
independent.
24. Java Features
Multithreading means handling multiple task simultaneously.
Java support multithreading program.
This means that we can not wait for application to finish on task
before beginning another task
25. Java Features
Java is a small and simple language many feature of C and C++ are not
part of java.
For ex- Java does not use pointer, preprocessor, header file, goto
statement many other. It eliminates operator overloading , multiple
inheritance.
26. Java Features
Java is true object oriented programming Language. Almost every
thing in java is object . All program code and data reside within object
and class.
Java is not pure object oriented programming language because it
support primitive data type such as int, byte, long, Boolean etc.
27. A) Console Program
1) Print hello Java
2) Add any two given number
B) GUI Application
1) Foot Ball Match Score Board
Demo Programs