1 / 28

JAVA Programciligi 1.1.1

Ders Plani 1.1.1. JDEV Men

brooke
Download Presentation

JAVA Programciligi 1.1.1

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. JAVA Programciligi 1.1.1 Ali R+ SARAL

    2. Ders Plani 1.1.1 JDEV Menüler Hello World Jdev kütüphaneleri JDEV’de dosya silis JDEV’de application import

    3. Ders Plani 1.1.1 Kurs kitabinin Tanitimi Örnekler Data and Variables – Veri ve Degiskenler

    4. WEBEXin Tanitimi Participants penceresi – el kaldirmak Chat penceresi – belirli kisiye mesaj yazmak Belirli aralarla sorulara izin verilecek El kaldirmissaniz, hoca size söz verebilir Mikrofonunuz varsa mikrofonla yoksa chat ile sorunuzu sorarsiniz

    5. Kurs Ortaminin Tanitimi http://www.cizgi-tagem.org/e-kampus/webex/

    6. Ekibin Tanitimi http://www.cizgi-tagem.org/team/ Sunucu :Ali Riza SARAL http://www.cizgi-tagem.org/team/page.aspx?key=arsaral Host: Erman ÜRET

    7. JDEV tanitimi Dokümantasyon Bölümünden Download ediniz http://www.cizgi-tagem.org/e-kampus/webex/documents.aspx?id=4 250MB büyüklügünde Download bittikten sonra sikistirilmis dosyayi açiniz. Ortaya çikan directory(kütüphane) içinde en dipte JDEV (tüten kahve ikonlu) exesi vardir. Exeyi tiklarsaniz JDEV çalisir. JDEV’in saglikli çalismasi için JAVAHOME environment var ve system path’i set edilmelidir.

    8. JDEV menuler 0 File Edit View Search Navigate Run Debug Source Refactor Versioning Tools Window Help Samples

    9. JDEV menuler 1 File menüsü New Open Reopen Close Closeall Save Saveas Saveall Import Export Erase from Disk …

    10. JDEV menuler 2 Edit menüsü Undo Redo Cut Copy Copypath Paste … Delete Selectall …

    11. JDEV menuler 3 View menüsü Navigators Application Navigator Connection Navigator … Debugger … Run Manager Tasks Window Tool bars …

    12. JDEV menuler 4 Search menüsü Find menuleri Replace menuleri … Incremental Find forward - backward Find in Files Replace in Files

    13. JDEV menuler 5 Navigate menüsü go to last edit ctrl+shift+backspace Run menüsü Run XXX.jpr Run file Make Rebuild …

    14. JDEV menuler 6 Üstüne cursoru koyup F1’e basiniz Help menüsü Table of Contents Full Text Search Index

    15. Hello World çalistiriniz HelloWorld download New Application olustur New Project olustur New JAVA class olustur Copy paste HelloWorld RUN et çalistir

    16. JDEV kütüphaneleri Disaridan bakildiginda JDEV nasil gözüküyor? JDK lib bin jdev lib bin mywork

    17. JDEV’de Dosya silis Jdev içinde bir java class yaratin Daha sonra bu classi silin Disaridan mywork içinde ilgili applicationi bulun O classi silmemis oldugunu fark edersiniz Olumlu ve olumsuz yani

    18. JDEV’de source import Application Navigator’da App seç File menüsü import Java source … … Web Source

    19. Kurs Kitabinin tanitimi Ivor Horton’s Beginning Java™ 2, JDK™ 5 Edition Kurs Yönetim Sistemimizden indirebilirsiniz.

    20. Örnekler Kurs yönetim sistemimizden indirebilirsiniz. Nasil çalistirabilirsiniz? Sikistirilmis dosyayi açiniz. Bir application yaratiniz. Denemek istediginiz file’i import ediniz. File’i make, ya da rebuild yapiniz File’i run ediniz.

    21. Data and Variables Veri ve Degiskenler A variable is a named piece of memory that you use to store information in your Java program - a piece of data of some description. Each named piece of memory that you define in your program is able to store data only of one particular type. Explicit data values that appear in your program are called literals. 25, for example, is an integer literal of type int.

    22. Data and Variables Veri ve Degiskenler Naming Your Variables The name that you choose for a variable is called an identifier. Java is case-sensitive. You must not include blanks or tabs in the middle of a name, so Betty May ? BettyMay Betty_May. 6Pack;you cannot start a name with a numeric digit. use sixPack as an alternative.

    23. Unicode all Java source code is in Unicode. original source code that you create may be ASCII, it is converted to Unicode characters internally your programs can use French, Greek, or Russian variable names

    24. Variables and Types Degiskenler ve Tipleri Variables and Types each variable that you declare can store values only of a type consistent with the data type of that variable. You specify the type of a particular variable by using a type name in the variable declaration.

    25. Integer Literals Any integer literal that you specify as a sequence of decimal digits is of type int by default. Thus 1, -9999, and 123456789 are all literals of type int. If you want to define an integer literal of type long, you need to append an L to the value. The values 1L, -9999L, and 123456789L are all of type long.

    26. Declaring Integer Variables Integer Degiskeni Tanimlamak There are four types of variables that you can use to store integer data. All of these are signed; that is, they can store both negative and positive values. The four integer types differ in the range of values they can store, so the choice of type for a variable depends on the range of data values you are likely to need.

    27. Declaring Integer Variables Integer Degiskeni Tanimlamak long bigOne; long bigOne = 2999999999L; It is good practice to always initialize your variables when you declare them. int miles = 0, // One mile is 8 furlongs furlongs = 0, // One furlong is 220 yards yards = 0, // One yard is 3 feet feet = 0; byte luckyNumber = 7; short smallNumber = 1234;

    28. Floating Point Data Types Kayan Nokta Veri Tipleri float from -3.4E38 to +3.4E38 double from -1.7E308 to +1.7E308 Floating Point Literals the distance from the Earth to the Sun is approximately 149,600,000 kilometers, more conveniently written as 1.496E8

    29. Declaring Floating Variables Kayan Nokta Degiskeni Tanimlamak double sunDistance = 1.496E8; float electronMass = 9E-28F; float hisWeight = 185.2F, herWeight = 108.5F;

More Related