Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

pouvez vous m'aider a faire ce devoir en me fournissant le code recquis en java rnek 1. Temel sinsf rneki cinlatinde frogram durmakader. - Kasa

pouvez vous m'aider a faire ce devoir en me fournissant le code recquis en java image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
rnek 1. Temel sinsf rneki cinlatinde frogram durmakader. - Kasa - Katryer - Deseme Kasa sunafa - Toplam saks miktan - Gainliak lar - Salatalardan elde cdilen lar - Tarh sayas - Salaia cayas public eflass Kana() - puhlie clas KavarSiring isim) Simfin: - public void hesapla (int secim, double fiyat) - private void topsatilesaplaidouble figat? - private void gumlukKrillcsuplarimt socim, double fiyat - private void salataKan(dooble kar) - private void tathsayisiAntien - public void fis Yandiro olmak finere alt adet metodu varder. salataKari() metodunda salata kan deeri, girdi olarak alman kar degen ile arttirilitr. fis Yavilar) metodunda - toplam sats makian - glinluk bar mikan - ortalama salata kan - tatis sayrsa ckrana yandinlir. Kasher sanaf kuncusu bulunmaltadir, - public elass Kiniyero - public class Kasiycr(String isim) caprotacak pekilde nesne yaratalit). Sinsfin public void is Valtio metoda varder. metodu canlarak becaplanan dtbcterin ekrana yandrnlman sajlann. Deneme suan Oraek 2 GPS (Globul Positioning System) Turkesi ile kresel kooum belinleme sistemi, wydulardan alman verilerle konum - SGPGGA, N, 40, 30, E - SCIPRMC, 4L,N,E,31 gercke pok daha fark alan iennckitodir.) GPS cmlelerinin kurallan punlandir: - GPS cmleleri ber zaman 5 karakiteri ile baylar. - Cuimle icerisinde alanlar virgul ale ayraler. - S'dan ilk virgle olan kasim bayhlikr. - Basak cmlemin trn belirtir. - Omekte verilen climleler ierisinde 4 alan tanumlanmepar. o Says ile verilen ilk alan enlem dejeri o Sayn ile verilen ikinci alan boylam deeni bulunmaktadir (North) (East). - GPSAlicia * Uydu - Test olmak tupere 4 adet smuf kullanlacakir GPSAlicisi Sinif 3 adet dethikes alana sahiptir. Bunlar, - Sicaklik (ient trnden deijken) (peivate) - GPS alcsinin aktif olup olmadma belirten deiquken (boolean trnnden) (public) - GPS cmlesini depolayacak dekipken (String trnden) (private) Simfin hir adet nesse kurucusu bulunmakiadir, - publc CipsAliciss () - private int sicaklikOle 0 - pobis void aydudan VeriAl (int cumleCesidi) - public String proprama VeriCionder () ohak turere if adet melodu vardir. kullanilacaltir. 30, E" scklindodir. E. 31";okliniedir: 42. 32 " jeklindedir. Uyda Sanif Smafin iki adet nesne kurucusu kulumaliader. - public uyda 0 - public uyda (GPSAlicisi gA) mesaje basar. lr. Sinufin private int veriTuruSec () elntak ikzere bir adet metodu vardir. GPSProgrami Sinuf - Enlem deeri (degei trinden) (private) - Boylan degkeri (dirgi trnden) (private) Sunfin bir adet nese kurucusu bulannaliadir: - pabtic GPSProgrami (GPSAlicisi gA) cagnler, Stnfin private void konumBilgisi (String konumVerisi) olmak uinere bir adet metodu vandr. Test Sanaf main() metodunu ieren sinafur. neshe yaratmain sagjlanar. Son olarak GPSProgrami ainefi trinden ncsne yaratil

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

Explain the importance of nonverbal messages.

Answered: 1 week ago

Question

Describe the advantages of effective listening.

Answered: 1 week ago

Question

Prepare an employment application.

Answered: 1 week ago