GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATION SEMESTER: III Subject Name: Fundamentals of Java Programming (Java) Subject Code: 630002

Objectives: • • • •

To develop proficiency in creating console based and GUI based applications using the Java Programming Language. To be able to understand the concepts of Object Oriented Programming Language and easily use Java. To get a good understanding of developing multi-threaded applications using the Java Programming Language. To be able to develop Applets for embedding in a web page.

Prerequisites: Knowledge of the C programming language.

Contents: Unit-1: Object Oriented Programming And Introduction To Java, Data Types, Operators, Statements And Defining Classes In Java • • • • • • • • • • • • • • • • • • •

Features of the Java Language, Object-oriented Programming Creating an Application in Java, Compiling and executing Applications in Java Program comments Primitive data types, Integer Data Types, Floating Point Data Types Reference Data types Arrays, single and multi-dimensional arrays Other reference types, classes, interfaces, enums and annotations Unicode escapes in Java source code Understanding super types and subtypes. Operators - Arithmetic, String concatenation, Relational, Logical, Bitwise, increment-decrement, conditional, assignment, cast and instance of operators. Understanding the narrowing and widening conversions of numeric data types. Statements - if, if-else, switch-case, for, while, do-while, break, continue and return statements. Various members within a class instance variables methods and their overloading constructors and their overloading Garbage collector and finalize method static variables and methods initializer blocks and the class initializer blocks

Unit -2: Inheritance and sub classing in Java and packages and use of access specifiers • • • • • • • • • • • • • • • • •

Defining subclasses Using super to use constructor of a super-class, Method overriding and use of super, Variable shadowing and use of super. Method and variable binding Using final with variables, methods and classes Abstract classes and interfaces, Abstract classes and abstract methods Single inheritance of classes, Interfaces Object class as the super class of all classes, Methods inherited from the Object class Uses of package and import statements, use of static imports use of CLASSPATH for class loading Access specifiers, Access specifiers for members of a package, Access specifiers for members of a class, Access specifiers for overriding methods Using the Java APIs Commonly used classes from the java. language package Comparable and Comparator interfaces String, String Buffer and the String Builder classes Understanding pass by value and pass by reference for Java Wrapper classes Math class constants and methods

Unit-3: Exceptions, Nested enum types and Collection framework • • • • • • • • • • • • •

Runtime stack and execution of application The return and the throw statements, The return type and throws declaration in methods, Checked and the Unchecked exception classes, The Throwable class Exception chaining, Handling exceptions with try and catch, Use of the finally block, Creating custom exception classes Member Types Top level nested classes and Inner classes, The local class and anonymous classes The enum type classes from java.util package Date, Time Zone, Calendar and the Gregorian Calendar classes Collection Framework, Collection interface, Set and List interfaces, Map interface Generics in the Collection Framework Regular Expressions, Pattern and Matcher classes Scanner class Varargs and the Formatter class

Unit-4: Stream based I/O and Multi-threading •

• • • • •

Stream classes, Output Stream and the Writer classes, Input Stream and the Reader classes, Bridge classes Output Stream Writer and the Input Stream Reader , Writing and reading from files using File Output Stream and the File Input Stream Piped Streams, Array based streams, Filter streams, Buffered streams, Print Stream and the Print Writer classes, Data and Object streams Random Access File Multi-threading, Thread class and thread of execution, Creating a new Thread of execution, Thread Group, properties of Thread instance, Daemon Threads Thread states, synchronization Another way of creating a thread of execution

Unit-5: GUI Programming, Building Applets and Introduction to Annotations • • • • • • • • • • • • • •

Comparing AWT and swing features, AWT Components, Overview of the AWT components, Component properties Graphics context Containers, Container class, Layout Managers, Top-level containers Window class, Decorated windows Frame and Dialog Panel class Events, Event Delegation Model, AWT Events Adapter classes Swing and MVC J component J option Pane Showing Message, Confirm and Input Dialogs Browser as a container for Applets Life-cycle of an Applet, Applet Stub and Applet tag, Applet Context and the URL class., Applet class Defining a new annotation , Annotating a programming element, Annotation element names and usage, Meta-annotations

Notes: Term work is to be carried out as per the above syllabus.

Main Reference Book(s): 1) Pravin Jain, “The class of Java” Pearson Education, (2010). 2) Cay S. Horstmann, Gary Cornell, “Core Java 2, Volume 1 – Fundamentals”, Pearson Education (8th edition – 2008).

Suggested Additional Reading: 1) Ivor Horton's “Beginning Java 2” JDK 5 Edition, Wiley Computer Publishing, (2007). 2) Ken Arnold, James Gosling, David Holmes, “The Java Programming Language”, AddisonWesley Pearson Education (4th Edition – 2005). 3) Raj Kumar Buyya, S. Thamarai Selvi, & Xing Chen Chu, “Object-Oriented Programming with Java: Essentials & Applications”, Tata McGraw Hill 4) Cay Horstmann, “Big Java”, Wiley Computer Publishing (2nd edition – 2006). 5) Sharan Zakhour, Scott Hommel, Jacob Royal, Isaac Rabinovitch, Tom Risser, Mark Hoeber “The Java Tutorial”, Addison-Wesley Pearson Education(4th Edition), available for online reference at http://java.sun.com/docs/books/tutorial/index.html

6) James Gosling, Bill Joy, Guy Steele, Gilad Bracha, “The Java Langauge Specifications”, Addison-Wesley Pearson Education(3rd edition), available http://java.sun.com/docs/books/jls/download/langspec-3.0.pdf

for

download

at

Chapter wise Coverage from Main Reference Book(s): 1.

Book #1 ->

Ch. 1, Ch. 2 Except for section on Various tools in JDK and Using java doc, Ch. 3, Ch. 4, Ch. 5

2.

Book #1 ->

Ch. 6, Ch. 7, Ch. 8, Ch. 9 Except for sections on generating java doc, commonly used packages from Java APIs, Ch. 10 Except for sections on Unicode characters and using supplementary characters and Numeric values requiring more than 64 bits.

3.

Book #1 ->

Ch. 11 Except for section on assertions, Ch. 12, Ch. 13 Except for sections on Arrays class, Collections class and String To kenizer class

4.

Book #1 ->

Ch. 14 Except for sections on Pushback streams and Sequence Input Stream, Ch. 16

5.

Book #1 ->

Ch. 17 Except for section on Toolkit, Ch. 18 Except for section on Scroll Pane class, Ch. 19, Ch. 20 Except for sections on J layered Pane class and MVC and using the models in J table and J tree., Ch. 21, Ch. 23

Accomplishments of the Student after Completing the Course: • • • •

Ability to create appropriate classes using the Java Programming Language to solve a problem using Object Oriented Approach. Ability to write console based and GUI based applications in the Java Programming Language. Ability to develop to multi-threaded applications using the Java Programming Language Ability to create Applets using the Java Programming Language

gujarat technological university

MASTER OF COMPUTER APPLICATION. SEMESTER: III ... Unit-1: Object Oriented Programming And Introduction To Java, Data Types,. Operators, Statements ...

37KB Sizes 6 Downloads 292 Views

Recommend Documents

2182503 - Gujarat Technological University
Understand use of Design Data Book to design Machine Tool Drives, Bearings & Material. Handling Equipments. 2. Understand Design Of Machine Tool Structure. 3. Evaluate Product Design Concept. List of Experiments: Tutorials based on above syllabus. Li

Gujarat Technological University Guidelines
the degree for which the report is submitted;. • the name of ... Appendices (List of abbreviation, etc.) and other ... Submit to: Ms. Kinjal Joshi / Ms. Vaishakhi Shah.

Circular - Gujarat Technological University
Feb 13, 2014 - Subject: Online viewing of evaluated answer script. All the concerned ... E semester 7 and 1 (new course), M.E., MPharm, MCA, MBA for Winter.

Gujarat Technological University
Aug 17, 2013 - public domain. NOTES for PATENT SEARCH: The detailed material for self study is being made available through. 'you tube' channel of GTU ...

gujarat technological university - Vidhyanagari
Unit-1: Object Oriented Programming And Introduction To Java, Data Types, ... Operators - Arithmetic, String concatenation, Relational, Logical, Bitwise, ...

gujarat technological university - Stupidsid
(b) For Supplier – Parts database. Supplier(S#,sname,status,city). Parts(P#,pname,color,weight,city). SP(S#,P#,quantity). Answer the following queries in SQL. 1.

gujarat technological university - IndiaStudyChannel
Dec 16, 2011 - (II) Android 1.5 SDK its codenames is Cupcake. (III) setOrientation()method is used to set orientation of Screen. Layout. (IV) If you want to use ...

Gujarat Technological University
Aug 17, 2013 - yet to register or wish to edit team profile in phase-1, can still do so at ... made public in the public domain at the GTU website. THE THIRD ...

gujarat technological university - IndiaStudyChannel
Dec 16, 2011 - (II) Android 1.5 SDK its codenames is Cupcake. (III) setOrientation()method is used to set orientation of Screen. Layout. (IV) If you want to use ...

gujarat technological university
Subject Code: 712006. Date: 06/01/2014 ... 06. (b) Solve following systems using any of the methods used for solution of linear simultaneous equations. x + 2y + z = 8. 2x + 3y + 4z = 20. 4x + 3y + 2z = 16. 08. Q.2 (a) List various ... (b) Following t

gujarat technological university - GTU-Info.com
Therefore, an object that will float in oil will. (a) float in water, with more of the object submerged. (b) float in water, with the same amount of the object submerged. (c) float in water, with less of the object submerged. ... What are the differe

Teaching_Advt_GTU_052013(1) - Gujarat Technological University
Feb 16, 2013 - printout of online application format along with all the requisite .... Computer Courses (DOEACC) society or of the level as may be prescribed by ..... Degree in Computer Science i.e. B.E. Computer from Statutory University. Or.

gujarat technological university - GTU-Info.com
______ lion had a long tail. (a/the). (b) Choose appropriate option for the following questions/statements. 07. 1. We use this type of language when speaking to a friend. a. Formal b. Informal c. Friendly. 2. Which phrase is correct? a. He's working

gujarat technological university - GTU-Info.com
I'm a clerk. c. How do you do? 7. Which signature is the most formal? a. Love, b. Yours faithfully, c. Best wishes. OR. Q.1 (a) Fill in the following blanks with the appropriate alternative. 07. 1. Let the flowers ... Q.5 (a) As a student career deve

Teaching_Advt_GTU_052013(1) - Gujarat Technological University
Feb 16, 2013 - required to qualify a skill test in handling Computers within one year from ..... Degree in Computer Science i.e. B.E. Computer from Statutory ...

gujarat technological university
.Assume emissivity , radiating efficiency and resistivity of strip as 0.9, 0.5 and 1.016×10. -6 Ωm respectively. If the change is at room temperature (27° C) find.

gujarat technological university
May 19, 2011 - components? 07. OR. Q.5 (a) What is Struts? How is the MVC design pattern used in Struts framework? 07. (b) What is ActionForm in the struts?

Gujarat Technological University - GTU-Info.com
Your aim is to also become a “champion of sustainable development”. What would you ... As team members expect this from a leader like him. ... Surabhi‟s chemistry teacher was about to announce the partners with whom each student would.

GTU Recruitment Advt - Gujarat Technological University
Oct 3, 2012 - 1,2 & 3 are initially made for the period of one year. ... objective of the University is to develop the knowledge of science, engineering, technology, ..... application equivalent to course-on computer concepts (CCC/CCC+) of ... the ca

Gujarat Technological University - GTU Innovation Council
... OF EVALUATION: A Viva-Voce examination will be conducted at the end of the ... Please make proper arrangements so that all the examinations start in-time.

Patent Search Methodology - Gujarat Technological University
literature, and scientific journals and databases. .... Here patent search is further limited by searching it in the database of particular country, .... Object of invention. – Summery of Invention. – Detailed description. – Claims. – Figures

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
5. a) Define i)cycle, ii) circuit and iii) path. b) What is the chromatic number of i) Tree ii) wheel graph iii) complete graph Kn and · iv) complete bipartite graph Km, ...

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
Ae · τ · τ · − · = · where' A' and 'a' are real positive constants is · applied to the input of an LTI system with h(t)= · where b is real positive · constant. Find the PSD ...