JAVA Programciligi 1.1.1

JAVA Programciligi 1.1.1 PowerPoint PPT Presentation


  • 119 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 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;

  • Login