Introduction to Java

Core Java

Related image

Need of Object Oriented Programming:-

Image result for java


Disadvantages of POP :- 
● Data is exposed to whole program, so no security for data. 
● Difficult to relate with real world objects. 
● Importance is given to functions rather than the data. 

Introduction to OOP:-

● Object + Oriented + Programming 
● Deals with object to build program & software 
● Object = Identity + attributes (data) + behaviour (functions)

Principles of OOP:-

● Class 
● Object 
● Data Abstraction 
● Data Encapsulation 
● Polymorphism 
● Inheritance

Principles of OOP Language:-

Classes: collection of similar objects 
Objects: instance of class 
Abstraction: hiding the implementation details and showing only functionality to the user. 
Inheritance: adopt the characteristics of one class into another class 
Encapsulation: wrapping of data in single unit 
Polymorphism:perform a single action by different ways



What is JAVA ???

“Java is a programming language and a platform” 
“Write once, Run anywhere” 

● Java is a high level, robust, secured and object-oriented programming language. 
● Platform: Any hardware or software environment in which a program runs, is known as a platform. ● Since Java has its own runtime environment (JRE) and API, it is called platform.



Where it is used ???

● Desktop Applications such as acrobat reader, media player, antivirus etc. 
● Web Applications such as irctc.co.in, javatpoint.com etc. 
● Enterprise Applications such as banking applications. 
● Mobile 
● Embedded System 
● Smart Card 
● Robotics 
● Games etc.

History of Java

● The history of java starts from Green Team. 
● Green Team initiated a revolutionary task to develop a language for digital devices such as set-top boxes, televisions etc. 
● It was suited for internet programming. 
● Later, Java technology as incorporated by Netscape. 

James Gosling - founder of java 

Image result for james gosling images


● Currently, Java is used in internet programming, mobile devices, games, e-business solutions etc. 
● James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. The small team of sun engineers called Green Team. 
● Originally designed for small, embedded systems in electronic appliances like set-top boxes. 
● Firstly, it was called "Greentalk" by James Gosling and file extension was .gt. 
● After that, it was called Oak and was developed as a part of the Green project.

History of Java

Why sun choosed "Oak" name? 

● Why Oak? Oak is a symbol of strength and choosen as a national tree of many countries like U.S.A., France, Germany, Romania etc. 

Image result for oak tree

● In 1995, Oak was renamed as "Java" because it was already a trademark by Oak Technologies.

Why sun choosed "Java" name? 

● The team gathered to choose a new name. 
● The suggested words were "dynamic", "revolutionary", "Silk", "jolt", "DNA" etc. They wanted something that reflected the essence of the technology: revolutionary, dynamic, lively, cool, unique, and easy to spell and fun to say. 
● According to James Gosling "Java was one of the top choices along with Silk". 
● Since java was so unique, most of the team members preferred java. 
● Java is an island of Indonesia where first coffee was produced (called java coffee). 
● JDK 1.0 released in(January 23, 1996).

Java Features:-

● Simple 
● Secure 
● Portable 
● Object-Oriented 
● Robust 
● Multithreaded 
● Architecture-neutral 
● Interpreted 
● High performance 
● Distributed 
● Dynamic


Java Version:-

● JDK Alpha and Beta (1995) 
● JDK 1.0 (23rd Jan, 1996) 
● JDK 1.1 (19th Feb, 1997) 
● J2SE 1.2 (8th Dec, 1998) 
● J2SE 1.3 (8th May, 2000) 
● J2SE 1.4 (6th Feb, 2002) 
● J2SE 5.0 (30th Sep, 2004) 
● Java SE 6 (11th Dec, 2006) 
● Java SE 7 (28th July, 2011) 
● Java SE 8 (18th March, 2014) 
● Java SE 9 (21st September, 2017)


To Next Artical We Discuss About What is The feature of Java and what is difference between jdk,jre,jvm In Java With Details And example...

Image result for java

Don't Forget to Share your Opinion About This post in Comment Section, Your One Comment Will Not only Make Our day But will Make our Year. And Do mention Of you have any ideas for our Blog:)


Post a Comment

15 Comments