Copyright © Mohamed Nuzrath Java Programming :: Syllabus & Chapters :: Prepared & Presented By :: Mohamed Nuzrath [ Major In Programming ] NCC Programme.

Slides:



Advertisements
Similar presentations
What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word processor), it must be given the instructions.
Advertisements

A Programmer's Introduction to Java - from a S/370 user (c) IDMS/SQL News
In Review JAVA C++ GUIs - Windows Webopedia.com.
Chapter 2 First Java Programs
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
CSCE 145: Algorithmic Design I Chapter 1 Intro to Computers and Java Muhammad Nazmus Sakib.
Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Introduction to Java.
Session-02. Objective In this session you will learn : What is Class Loader ? What is Byte Code Verifier? JIT & JAVA API Features of Java Java Environment.
Lecture 1: Overview of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++ Designed.
Advanced OOP MCS-3 OOP BSCS-3 Lecture # 1
Computer Programming 12 Mr. Jean March 3 rd, 2014.
Introduction to Java Tonga Institute of Higher Education.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
Introduction to Java Programming with JBuilder 4
Introduction to Java CSIS 3701: Advanced Object Oriented Programming.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Advanced Java New York University School of Continuing and Professional Studies.
Sadegh Aliakbary Sharif University of Technology Spring 2011.
Sadegh Aliakbary. Copyright ©2014 JAVACUP.IRJAVACUP.IR All rights reserved. Redistribution of JAVACUP contents is not prohibited if JAVACUP.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
Java Introduction Lecture 1. Java Powerful, object-oriented language Free SDK and many resources at
Why Java? A brief introduction to Java and its features Prepared by Mithat Konar.
Computer Programming 12 Mr. Jean March 19 th, 2013.
Chapter 1 Introduction. Goal to learn about computers and programming to compile and run your first Java program to recognize compile-time and run-time.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
UCSC All rights reserved. No part of this material may be reproduced and sold. 1 IT1202-Fundamentals Of Programming (Using JAVA) Interacting with.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
1 Module Objective & Outline Module Objective: After completing this Module, you will be able to, appreciate java as a programming language, write java.
Lesson 2: First Java Programs. Objectives: –Discuss why Java is an important programming language. –Explain the Java virtual machine and byte code. –Choose.
1 CSC204 – Programming I Lecture 2 Intro to OOP with Java.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.1 Basics of Java Produced by Harvey Peters, 2008 Copyright.
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
Computer Programming 2 Why do we study Java….. Java is Simple It has none of the following: operator overloading, header files, pre- processor, pointer.
Getting started with Programming using IDE. JAVA JAVA IS A PROGRAMMING LANGUAGE AND A PLATFORM. IT CAN BE USED TO DELIVER AND RUN HIGHLY INTERACTIVE DYNAMIC.
Java and its Evolution. Contents Java Introduction Java Features How Java Differs from other OO languages Java and the World Wide Web Java Environment.
© Mohamed Nuzrath Java Programming :: Chapter 6 :: Prepared & Presented By :: Mohamed Nuzrath [ Major In Programming ] NCC Programme coordinator IT Lecturer.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
introductory lecture on java programming
Lecture1 Instructor: Amal Hussain ALshardy. Introduce students to the basics of writing software programs including variables, types, arrays, control.
การเขียนโปรแกรมภาษา จาวา Java Programming อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา Chapter 1.
ITP 109 Week 2 Trina Gregory Introduction to Java.
Introduction to JAVA Programming
1 Sections Java Virtual Machine and Byte Code Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
SESSION 1 Introduction in Java. Objectives Introduce classes and objects Starting with Java Introduce JDK Writing a simple Java program Using comments.
JAVA TRAINING IN NOIDA. Introduction to Java:  Java training in noida is a general-purpose computer programming language that is concurrent, class-based,
Sung-Dong Kim, Dept. of Computer Engineering, Hansung University Java - Introduction.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Chapter 1 Coding Introduction.
Computer System Structures
Applications Active Web Documents Active Web Documents.
Object Oriented Programming in
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
Chapter 1 Introduction to Computers, Programs, and Java
The Java Programming Language
Text by: Lambert and Osborne
Chapter 2 First Java Programs
Java programming lecture one
Introduction Enosis Learning.
Introduction Enosis Learning.
Chapter 1 Coding Introduction.
Advanced Programming Fall 2017.
(Computer fundamental Lab)
Computer Programming-1 CSC 111
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

Copyright © Mohamed Nuzrath Java Programming :: Syllabus & Chapters :: Prepared & Presented By :: Mohamed Nuzrath [ Major In Programming ] NCC Programme coordinator IT Lecturer | Web Developer | Software Engineer IDM Affiliated University College Kandy Campus #725, Peradeniya Rd, Kandy TP TM

Copyright © Mohamed Nuzrath Syllabus 1.Introduction to Java 2.Language Fundamentals 3.Object Oriented Programming Concepts 4.Arrays 5.String and String Buffer Classes 6.Exception Handling 7.Applets And Graphics 8.Threads

Copyright © Mohamed Nuzrath Syllabus… 9.Animation and Sounds 10.Graphical User Interface Designing [swing] 11.Files and Input/Output streams 12.System Attributes 13.Java Database Programming 14.Printing

Copyright © Mohamed Nuzrath CH1 – Introduction to Java The Java Technology consist of 3 entities; 1.The Java Language 2.A Runtime Environment 3.A Set of tools

Copyright © Mohamed Nuzrath Features of Java Language Simple Object Oriented Distributed Interpreted Robust Secure Architecture Neutral Portable High Performance Multithreaded Dynamic

Copyright © Mohamed Nuzrath Features of Java Language The Java Technology consist of 3 entities; The Java Language A Runtime Environment A Set of tools

Copyright © Mohamed Nuzrath The Runtime Environment Java Virtual Machine Source CodeJava Compiler Byte Code Instructions Java Interpreter Machine Code Java Programming Environment Execution of Java Program

Copyright © Mohamed Nuzrath Platform Dependant System Source Code Compiler Intel Compiler Sun Windows + Intel AMD + LINUX Machine Code / Binary Code / Native Code In a normal compiled program

Copyright © Mohamed Nuzrath Platform Independent System Source Code Compiler Intel Windows + Intel Machine Code / Binary Code / Native Code In a Java Program LINUX + AMD Future OS with Future Processor class / Java byte code/ Intermediate code Appropriate JVM

Copyright © Mohamed Nuzrath Java is Multithreaded Thread A Thread B Thread C A Java Program Memory

Copyright © Mohamed Nuzrath Features of Java Language The Java Technology consist of 3 entities; The Java Language A Runtime Environment A Set of tools

Copyright © Mohamed Nuzrath Set of Tools Tools that are provided allow developers to create java programs. Mainly they include the java compiler interpreter and other tools needed to develop, test and debug java programs.

Copyright © Mohamed Nuzrath Creating and Running Java Programs Operating Instructions::.

Copyright © Mohamed Nuzrath Creating the Source File Use Windows Notepad or any other pure text editor

Copyright © Mohamed Nuzrath Loading Notepad Start>>Programs>>Accessories>>Notepad Or Start>> Run>> Type Notepad Press Enter

Copyright © Mohamed Nuzrath Enter the Source Code Instructions 4x:

Copyright © Mohamed Nuzrath Saving the Source Code Go to the required path to save Enter the file name same as the main class name with the extension.java Surround both the file name and extension within double quotes. 4x: “HelloWorld.java” Hit the [SAVE] button

Copyright © Mohamed Nuzrath Like this.

Copyright © Mohamed Nuzrath Compiling the Source Code Java Provides a set of command line tool which can be used in building applications In order to compile a java source file, the path should be set, Once the path is correctly set the system can locate the necessary files or command line tools from the specified path.

Copyright © Mohamed Nuzrath Start the Command Prompt Start>>Programs>>Accessories>>Command Prompt

Copyright © Mohamed Nuzrath Or Start it from the Run Start >> Run >> Type CMD >> Press enter

Copyright © Mohamed Nuzrath Navigate to the Folder By using MS-DOS command you can go to the folder where you have saved the Java Source Files MS-DOS ( Discussion)

Copyright © Mohamed Nuzrath Compile the Program Fix errors if any

Copyright © Mohamed Nuzrath END OF CHAPTER 01 IF YOU FAIL TO PLAN YOU PLAN TO FAIL

Copyright © Mohamed Nuzrath Run the Java Program