JAVA Programciligi 1.1.1

JAVA Programciligi 1.1.1 PowerPoint PPT Presentation


  • 111 Views
  • Updated On :
  • Presentation posted in: General

Ders Plani 1.1.1. JDEV Men

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


1. JAVA Programciligi 1.1.1 Ali R+ SARAL

2. Ders Plani 1.1.1 JDEV Menler Hello World Jdev ktphaneleri JDEVde dosya silis JDEVde 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 sz 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 Dokmantasyon Blmnden Download ediniz http://www.cizgi-tagem.org/e-kampus/webex/documents.aspx?id=4 250MB byklgnde Download bittikten sonra sikistirilmis dosyayi ainiz. Ortaya ikan directory(ktphane) iinde en dipte JDEV (tten kahve ikonlu) exesi vardir. Exeyi tiklarsaniz JDEV alisir. JDEVin saglikli alismasi iin JAVAHOME environment var ve system pathi 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 mens New Open Reopen Close Closeall Save Saveas Saveall Import Export Erase from Disk

10. JDEV menuler 2 Edit mens Undo Redo Cut Copy Copypath Paste Delete Selectall

11. JDEV menuler 3 View mens Navigators Application Navigator Connection Navigator Debugger Run Manager Tasks Window Tool bars

12. JDEV menuler 4 Search mens Find menuleri Replace menuleri Incremental Find forward - backward Find in Files Replace in Files

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

14. JDEV menuler 6 stne cursoru koyup F1e basiniz Help mens 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 ktphaneleri Disaridan bakildiginda JDEV nasil gzkyor? JDK lib bin jdev lib bin mywork

17. JDEVde Dosya silis Jdev iinde bir java class yaratin Daha sonra bu classi silin Disaridan mywork iinde ilgili applicationi bulun O classi silmemis oldugunu fark edersiniz Olumlu ve olumsuz yani

18. JDEVde source import Application Navigatorda App se File mens import Java source Web Source

19. Kurs Kitabinin tanitimi Ivor Hortons Beginning Java 2, JDK 5 Edition Kurs Ynetim Sistemimizden indirebilirsiniz.

20. rnekler Kurs ynetim sistemimizden indirebilirsiniz. Nasil alistirabilirsiniz? Sikistirilmis dosyayi ainiz. Bir application yaratiniz. Denemek istediginiz filei import ediniz. Filei make, ya da rebuild yapiniz Filei 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;

  • Login