Bir önceki örnekte metoda gönderilen 2 sayının çarpımını ekrana yazdırmıştık. Java Gönderilen İki Sayının Çarpımını Ekrana Yazdıran Metot.
Bu örnekte kullanıcının girdiği 2 sayıyı bir metoda göndereceğiz ve bu metot da gönderilen 2 sayının çarpımını döndürecek.
Örneğe başlamadan önce Java Dili Metotlar sayfasını ziyaret edebilirsiniz.
package kodbloklari.com;
public class İkiSayıyıDöndüren {
static int carp(int sayi1, int sayi2) {
return sayi1 * sayi2;
}
public static void main(String[] args) {
int sonuc = carp(15,5);
System.out.println("Sonuc = " +sonuc);
}
}
Ana programdaki “sonuc” değişkenine carp() metodunun döndürdüğü sayıyı eşitledik ve ekrana yazdırdık.
Kodun ekran çıktısı şu şekildedir:

87 Yorum
Hello! I’m at work surfing around your blog from my new iphone 4! Just wanted to say I love reading through your blog and look forward to all your posts! Carry on the fantastic work!
steroids prednisone for sale: http://prednisone1st.store/# can you buy prednisone over the counter in mexico
I truly appreciate this blog.Really looking forward to read more. Really Cool.
order tricor generic fenofibrate usa fenofibrate 200mg uk
order cialis 20mg for sale viagra sildenafil 25mg female viagra pill
order zaditor generic order doxepin 25mg online order tofranil 75mg generic
buy mintop solution flomax 0.4mg canada ed pills gnc
generic aspirin buy eukroma generic buy imiquad medication
acarbose 50mg uk purchase fulvicin without prescription pill fulvicin
I went over this website and I believe you have a lot of superb information, bookmarked (:.
buy meloset 3mg generic buy melatonin cheap danazol 100 mg uk
dipyridamole pill buy pravachol generic buy pravastatin 20mg online cheap
dydrogesterone price sitagliptin 100mg cost jardiance 25mg for sale
order etodolac 600mg monograph 600mg oral where to buy pletal without a prescription
cheap fludrocortisone buy rabeprazole pills loperamide 2mg us
prasugrel order chlorpromazine 50 mg uk pill detrol
order generic mestinon 60mg maxalt 5mg without prescription purchase rizatriptan online
pill ferrous 100 mg order ferrous sulfate for sale buy sotalol pills
order xalatan buy xalatan for sale order exelon pills
enalapril 10mg for sale doxazosin 2mg cost order lactulose generic
premarin where to buy buy premarin for sale viagra buy online
order omeprazole pill order omeprazole generic where to buy lopressor without a prescription
tadalafil 5mg without prescription buy generic cialis 5mg buy viagra 50mg generic
micardis pill buy generic hydroxychloroquine for sale order molnupiravir 200mg pills
where to buy cenforce without a prescription order cenforce for sale order chloroquine 250mg sale
provigil online buy buy generic phenergan oral prednisone 20mg
buy cheap isotretinoin buy zithromax 500mg sale cheap azithromycin 250mg
buy generic omnicef buy metformin 500mg without prescription order prevacid 15mg without prescription
azithromycin 250mg uk prednisolone 20mg for sale neurontin price
purchase lipitor generic order norvasc pill amlodipine oral
blackjack online real money furosemide for sale lasix 100mg us
online casino with free signup bonus real money usa acticlate ca albuterol pills
protonix 40mg oral zestril 10mg uk order generic pyridium 200 mg
black jack card game free online blackjack for real money usa ivermectin online
gambling online slots games free cheap synthroid 75mcg
buy generic amantadine 100mg order amantadine 100 mg generic avlosulfon medication
purchase serophene generic isosorbide 20mg for sale azathioprine 50mg pills
cost vardenafil 20mg tizanidine buy online purchase tizanidine without prescription
medrol us medrol ca order triamcinolone pill
generic dilantin 100mg flexeril medication buy ditropan online cheap
buy generic coversyl order aceon online cheap purchase allegra online cheap
baclofen 25mg cost endep 50mg drug toradol tablet
buy baclofen no prescription endep 10mg cheap cost ketorolac
order loratadine 10mg online cheap order ramipril 10mg generic dapoxetine 90mg ca
alendronate 35mg tablet macrodantin 100 mg uk buy nitrofurantoin generic
buy inderal 20mg pill motrin us buy plavix 75mg online cheap
order pamelor 25mg generic anacin where to buy buy acetaminophen
amaryl 4mg brand misoprostol cheap etoricoxib where to buy
purchase coumadin online buy cheap reglan purchase reglan online
buy xenical 60mg sale diltiazem 180mg pill generic diltiazem
buy pepcid 40mg generic pepcid online buy cheap tacrolimus
purchase nexium pill purchase nexium online cheap buy generic topamax
azelastine for sale online order zovirax 400mg generic buy avalide without prescription
buy imitrex 25mg online cheap buy avodart 0.5mg without prescription purchase avodart
brand allopurinol 100mg rosuvastatin 20mg pills rosuvastatin 20mg uk
ranitidine 300mg brand oral zantac 300mg cost celecoxib 100mg
buspin where to buy buy buspirone 5mg online amiodarone 200mg cost
tamsulosin 0.2mg cost order tamsulosin 0.4mg generic buy generic zocor online
spironolactone 25mg for sale buy valtrex 1000mg order proscar pills
essay helpers buying a research paper for college professional letter writing services
fluconazole for sale online buy ampicillin ciprofloxacin pill
sildenafil generic sildenafil pills 200mg buy estrace 2mg sale
buy cleocin online cheap erection pills online order sildenafil 50mg pill
lamictal pill order prazosin sale order nemazole online
order nolvadex 10mg pills how to buy tamoxifen buy generic rhinocort
order tretinoin sale avana pills buy avana pill
oral ceftin 250mg buy robaxin 500mg without prescription purchase methocarbamol pill
tadalafil 10mg for sale tadalafil 10mg drug order indocin 50mg pills
buy desyrel 50mg generic cost clindamycin clindac a sale
lamisil cost terbinafine order online internet roulette
best essay writers online buy an assignment free online blackjack no download
academic writing terms purchase suprax cefixime generic
buy calcitriol 0.25mg generic rocaltrol 0.25 mg uk buy generic fenofibrate 160mg
buy trimox pill clarithromycin 250mg cost order clarithromycin without prescription
hormonal acne treatment near me adult acne medication pill order oxcarbazepine without prescription
catapres 0.1 mg drug order antivert 25 mg generic order generic tiotropium bromide
order uroxatral 10 mg buy alfuzosin 10 mg pill best prescription heartburn medicine
minocycline 100mg cost buy generic hytrin over the counter ropinirole 1mg cheap
buy sleep aids online medication side effects thicken hair best online weight loss prescription
letrozole 2.5mg usa brand femara 2.5mg abilify 20mg cost
free medication for quitting smoking best smoking cessation pills buying online medication with prescriptions
medroxyprogesterone 10mg us hydrochlorothiazide 25 mg cheap buy hydrochlorothiazide for sale
antiviral drugs list shingle over the counter medication best meds to lower a1c
order cyproheptadine for sale ketoconazole 200mg tablet nizoral 200mg uk
herbs that fight fungal infection blood pressure medication equivalent chart 4 deadly blood pressure drugs
cymbalta 20mg cost how to buy cymbalta buy generic modafinil over the counter
taking medication with an ulcer get prescription for uti online different types of uti bacteria