Top Banner
JAVA Basics Dallas Technologies
12

Java basics at dallas technologies

Apr 15, 2017

Download

Education

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Java basics at dallas technologies

JAVA Basics Dallas Technologies

Page 2: Java basics at dallas technologies

About UsDallas Technologies, an ISO 9001:2008 certified company, based at Bangalore India, Providing services in software consulting, application development, outsourcing services, Recruitment and Training. Started operation in the year 2001. We design, build, and support customized applications for businesses large and small. We are the market leader in training and outsourcing in various technologies. We ,Dallas technologies, serve and support IT companies in the areas of Mainframes, ERP, .net, Java/J2EE,Data Warehousing and Business Intelligence, etc. we also train and outsource fresh talents to our clients.

Page 3: Java basics at dallas technologies

What is java?• A general-purpose object-oriented language.

• Write Once Run Anywhere (WORA).

• Designed for easy Web/Internet applications.

• Widespread acceptance.

Page 4: Java basics at dallas technologies

History• James Gosling - Sun Microsystems• Co founder – Vinod Khosla

• Oak - Java, May 20, 1995, Sun World

• JDK Evolutions• JDK 1.0 (January 23, 1996)

• JDK 1.1 (February 19, 1997)

• J2SE 1.2 (December 8, 1998)

• J2SE 1.3 (May 8, 2000)

• J2SE 1.4 (February 6, 2002)

• J2SE 5.0 (September 30, 2004)

• Java SE 6 (December 11, 2006)

• Java SE 7 (July 28, 2011)

Page 5: Java basics at dallas technologies

Why Java is Important

• Two reasons :

• Trouble with C/C++ language is that they are not portable and are not platform independent languages.

• Emergence of World Wide Web, which demanded portable programs

• Portability and security necessitated the invention of Java

Page 6: Java basics at dallas technologies

Cont..

• J2SE(Java 2 Standard Edition) - to develop client-side standalone applications or applets.

• J2ME(Java 2 Micro Edition ) - to develop applications for mobile devices such as cell phones.

• J2EE(Java 2 Enterprise Edition ) - to develop server-side applications such as Java servlets and Java ServerPages.

Page 7: Java basics at dallas technologies

Cont…

• Java does not support global variables. Every method and variable is declared within a class and forms part of that class.

• Java does not allow default arguments.

• Java does not support inheritance of multiple super classes by a sub class (i.e., multiple inheritance). This is accomplished by using ‘interface’ concept.

• It is not possible to declare unsigned integers in java.

• In java objects are passed by reference only. In C++ objects may be passed by value or reference.

Page 8: Java basics at dallas technologies

Cont…New features added in Java:

• Multithreading, that allows two or more pieces of the same program to execute concurrently.

• C++ has a set of library functions that use a common header file. But java replaces it with its own set of API classes.

• It adds packages and interfaces.

• Java supports automatic garbage collection.

• break and continue statements have been enhanced in java to accept labels as targets.

• The use of unicode characters ensures portability.

Page 9: Java basics at dallas technologies

Cont…Features that differ:• Though C++ and java supports Boolean data type, C++ takes any

nonzero value as true and zero as false. True and false in java are predefined literals that are values for a boolean expression.

• Java has replaced the destructor function with a finalize() function.

• C++ supports exception handling that is similar to java's. However, in C++ there is no requirement that a thrown exception be caught.

Page 10: Java basics at dallas technologies

Characteristics of Java

• Java is architecture-neutral• Java is portable• Java’s performance• Java is multithreaded• Java is dynamic• Java is secure

• Java is simple• Java is object-oriented• Java is distributed• Java is interpreted• Java is robust

Page 11: Java basics at dallas technologies

Have Any Questions

DALLAS TECHNOLOGIES

No. 30/1, R. K. Plaza, 1st Floor, CMH Road, Indira Nagar,

Above Union Bank of India, Bangalore, Karnataka 560038

Phone:088807 99799

Page 12: Java basics at dallas technologies