Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore Jayant Report

Jayant Report

Published by theastonish429, 2019-02-27 08:08:32

Description: Jayant Report

Keywords: page1,page2,page3,page4

Search

Read the Text Version

JAVA APPLICATION DEVELOPMENT Session: 2017 –2018 A Training Report Submitted To Samalkha Group of Institutions, Samalkha Towards Partial Fulfillment of Degree of Bachelor of Technology In Computer Science and Engineering Submitted To: Submitted By: Head of Department Jayant Roll: 7415017



Acknowledgment I express my sincere gratitude to my friends group for their excellent guidance throughout the course of this investigation. I am extremely grateful to entire faculty community of the Department, for their invaluable suggestion. I sincerely thanks the authorities of Institute Library, Solo Learn.

Table of Content UNIT CONCEPTS to be covered UNIT-I JAVA Basics UNIT-II Inheritance UNIT-III Data structures creation and manipulation in java UNIT-IV Exception Handling UNIT-V GUI Programming With JAVA

Course Objectives On completion of this course we will be able to: 1. Identify the importance of Java . 2. Identify the additional features of Java compared to C++ . 3. Identify the difference between Compiler and Interpreter . 4. Identify the difference between applet and application . 5. Apply Object Oriented Principles of Encapsulations, Data abstraction, Inheritance, Polymorphism. 6. Program using java API (Application Programming Interface). 7. Program using Exception Handling, Files and Threads . 8. Program Using applets and swings .

Introduction • Welcome to the course Object Oriented Programming in JAVA. This course will cover a core set of computer science concepts needed to create a modern software application using Java.

Why Java is • Two reasons : – Trouble with C/C++ language is independent. – Emergence of World Wide Web, • Portability and security necessitated th

s Important that they are not platform which demanded portable programs he invention of Java

Histo • James Gosling - Sun Micros • Co founder – Vinod Khosla • Oak - Java, May 20, 1995, S • JDK Evolutions – JDK 1.0 (January 23, 19 JDK 1.1 (February 19, 199 – J2SE 1.2 (December 8, 1998) – J2SE 1.3 (May 8, – J2SE 1.4 (February 6, 20 – J2SE 5.0 (September 30, 2004) – Java SE 6 (Decem 2006) – Java SE 7 (July 28

ory systems a Sun World 996) – 97) 2000) 002) , mber 11, 8, 2011)

Con • Java Editions. J2SE(Java 2 Standard client-side standalone ap J2ME ( Java 2 Micro m applications phones. J2EE ( Java 2 Enterp server-side applications Java ServerPages.

nt.. Edition) - to develop or pplications applets. Edition ) for - to develop mobile devices such as cell prise Edition ) - to develop and such as Java servlets

What is • A general-purpose object-ori • Write Once Run Anywhere ( • Designed for easy Web/Inter • Widespread acceptance.

s java? iented language. (WORA). rnet applications.

Con Java does not support global varia declared within a class and forms pa Java does not allow default argument Java does not support inheritance class (i.e., multiple inheritance). Thi concept. It is not possible to declare unsigned In java objects are passed by refe passed by value or reference.

nt… ables . Every method and variable is art of that class. ts. of multiple super classes by a sub is is accomplished by using ‘interface’ integers in java. erence only. In C++ objects may be

Con New features added in Java: Multithreading, that allows two or m execute concurrently. C++ has a set of library functions java replaces it with its own set of A It adds packages and interfaces. Java supports automatic garbage colle break and continue statements have b as targets. The use of unicode characters ensure

nt … more pieces of the same program to that use a common header file. But API classes. ection. been enhanced in java to accept labels es portability.

Con Features that differ: Though C++ and java suppor takes any nonzero value as tru false in java are predefined li boolean expression. Java has replaced the destru function. C++ supports hand exception However, in is no C++ there exception be caught.

nt … rts Boolean data type, C++ ue and zero as false. True and iterals that are values for a uctor function with a finalize() dling that is similar to java's. o requirement that a thrown

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

stics of Java Java is architecture- eutral • Java is portable Java’s performance Java is multithreaded Java is dynamic Java is secure

Java Env • Java includes many developm methods – Development tools are part of – The classes and methods are p (JSL), also known as Applica (API). • JDK constitutes of tool java interpreter and many. • API includes hundreds of cla into several packages accord

vironment ment tools, classes and Java Development Kit (JDK) and part of Java Standard Library ation Programming Interface ls like java compiler, asses and methods grouped ding to their functionality.

Java is archite

ecture-neutral

WORA(Write Onc

ce Run Anywhere)

Calculator in java

Execution of calculator