1 / 22

Advanced Programming in Java

Advanced Programming in Java. Sadegh Aliakbary Sharif University of Technology Fall 2011. Agenda. Introduction to Course Java History Java Characteristics Syllabus References Evaluation Policy. This Course Covers:. Java programming language Object Oriented Concepts

nellis
Download Presentation

Advanced Programming in Java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced Programming in Java SadeghAliakbary Sharif University of Technology Fall 2011

  2. Agenda • Introduction to Course • Java History • Java Characteristics • Syllabus • References • Evaluation Policy Sharif University of Technology

  3. This Course Covers: • Java programming language • Object Oriented Concepts • Some Programming Skills • Software Quality • Test Sharif University of Technology

  4. Java History • Java was created in 1991 • by James Gosling in Sun Microsystems. • Initially called Oak • in honor of the tree outside Gosling's window • Its name was changed to Java • because there was already a language called Oak. • Sun Microsystems released the first public implementation as Java 1.0 in 1995 • Java syntax is similar to C and C++. Sharif University of Technology

  5. Java Motivation • The need for platform independent language • To be embedded in various consumer electronic products • like toasters and refrigerators • Platform independent?! • Hardware • Operating System Sharif University of Technology

  6. Java Motivation (2) • At the same time, the World Wide Web and the Internet were gaining popularity. • Java could be used for internet programming. • Why? • Platform independence • Creation of Applets Sharif University of Technology

  7. The Java technology is: • A programming language • Java can create all kinds of applications • A development environment • A compiler (javac) • An interpreter (java) • A documentation generator (javadoc) • … • Compare it to C++ Sharif University of Technology

  8. High-Level Languages Sharif University of Technology

  9. Java Virtual Machine Sharif University of Technology

  10. Compile and Execution Stages • Compare to C++ and Assembly • .NET Framework Sharif University of Technology

  11. Java is Popular • Some reports on programming languages popularity • According to • Job advertisements • Book sales • Finding code on the web • … Sharif University of Technology

  12. http://www.langpop.com • updated in 2010 Sharif University of Technology

  13. http://www.tiobe.com/index.php/content/paperinfo/tpci/index.htmlhttp://www.tiobe.com/index.php/content/paperinfo/tpci/index.html Sharif University of Technology

  14. Characteristics of Java • Java is simple • Java is object-oriented • Java is architecture-neutral • Java is portable • Java is interpreted • Java is multithreaded • Java is secure • Java is robust Sharif University of Technology

  15. Oracle, Sun, … Sharif University of Technology

  16. Further Reading • Read Java page on Wikipedia http://en.wikipedia.org/wiki/Java_(programming_language) • Google this terms and phrases: • Java • Java Mobile • JVM • Byte code • Java Sun • Java and C++ • Java and C# Sharif University of Technology

  17. Exercises • Download and install JDK • http://www.oracle.com/technetwork/java/javase/downloads/index.html • JDK 7 • Write a program that prints your name on the console • Compile and run the program Sharif University of Technology

  18. Topics • Introduction to java language • Java syntax, operators, conditions, loops, … • Strings • Arrays • Object Oriented Programming • Inheritance • Polymorphism • Collections • Generics • Exception Handling • Files and I/O • Threads • Reflection • Test • Refactoring • GUI • Networking Sharif University of Technology

  19. References • Java How to Program • Deitel & Deitel • 9th Edition (6th+ editions are ok) • Thinking in Java • Bruce Eckel • Fourth Edition Sharif University of Technology

  20. Evaluation Policy • But 0-3 students may reach 20! Sharif University of Technology

  21. Course Homepage • https://ce.sharif.edu/courses/ Sharif University of Technology

  22. Sharif University of Technology

More Related