java

PPTX 23 sahifa 107,8 KB Bepul yuklash

Sahifa ko'rinishi (5 sahifa)

Pastga aylantiring 👇
1 / 23
java o’zi nima? oydt java sintaksisi java da tiplar - java izohlar - java tiplar - java kalit so’z lar - java konstanta - java operatorlar java: izoh, tiplar, kalit so’zlar, operator izohlar (comments) dokumentasiya uchun juda zarur, esdan chiqmasin hech qachon!!!! izohlar kompilyator tomonidan qabul qilinmidi // single line (or part of line) /* multiple line comments go here everything between the marks is ignored */ method‘lar yoki eslatmalar uchun juda qulay /** * these are used by the javadoc utility to create html * documentation files automatically. */ tiplar (data types) int 32-bit (4-byte) butun son short 16-bit (2-byte) butun son long 64-bit (8-byte) butun son byte 8-bit (1-byte) butun son float 32-bit (4-byte) haqiqiy son double 64-bit (8-byte) haqiqiy son char 16-bit unicode string qator boolean true yoki false (1 yoki 0) kalit so’zlar abstract assert boolean break byte case catch char class const continue default do …
2 / 23
ift right va o’zlashtiradi 6 bitlar ustida amallar a b ~a a & b a | b a ^ b 1 1 0 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 0 1 0 0 0 bitlar ustida amallarga not 0111 (decimal 7) = 1000 (decimal 8) 0101 (decimal 5) or 0011 (decimal 3) = 0111 (decimal 7) 0101 (decimal 5) xor 0011 (decimal 3) = 0110 (decimal 6) 0101 (decimal 5) and 0011 (decimal 3) = 0001 (decimal 1) 00010111 left-shift = 00101110 00010111 right-shift = 00001011 - if - switch - for - while - do … while - access modifiers - static - method overloading - contructor java: operator if operatori if (shart) { buyruqlar } if (shart) { buyruqlar } else { buyruqlar } if (shart) { // buyruqlar } else if (shart2) { // buyruqlar } ... …
3 / 23
c void main(string[] args) { int count = 1; system.out.println(“1 - 10"); while (count <= 10) { system.out.println(count++); } } } do…while do { buyruqlar } while (shart); do…while misol public class dowhileloop { public static void main(string[] args) { int count = 1; system.out.println(“1 - 10"); do { system.out.println(count++); } while (count <= 10); } } continue public class continue { public static void main(string[] args) { system.out.println(“toq sonlar"); for (int i = 1; i <= 10; ++i) { if (i % 2 == 0) continue; system.out.println(i + "\t"); } } } toq sonlar 1 3 5 7 9 break public class breakexample { public static void main(string[] args) { system.out.println(“sonlar"); for (int i = 1;; ++i) { if (i == 5) break; system.out.println(i + "\t"); } } } sonlar 1 2 3 4 /docprops/thumbnail.jpeg
4 / 23
java - Page 4
5 / 23
java - Page 5

Ko'proq o'qimoqchimisiz?

Barcha 23 sahifani Telegram orqali bepul yuklab oling.

To'liq faylni yuklab olish

"java" haqida

java o’zi nima? oydt java sintaksisi java da tiplar - java izohlar - java tiplar - java kalit so’z lar - java konstanta - java operatorlar java: izoh, tiplar, kalit so’zlar, operator izohlar (comments) dokumentasiya uchun juda zarur, esdan chiqmasin hech qachon!!!! izohlar kompilyator tomonidan qabul qilinmidi // single line (or part of line) /* multiple line comments go here everything between the marks is ignored */ method‘lar yoki eslatmalar uchun juda qulay /** * these are used by the javadoc utility to create html * documentation files automatically. */ tiplar (data types) int 32-bit (4-byte) butun son short 16-bit (2-byte) butun son long 64-bit (8-byte) butun son byte 8-bit (1-byte) butun son float 32-bit (4-byte) haqiqiy son double 64-bit …

Bu fayl PPTX formatida 23 sahifadan iborat (107,8 KB). "java"ni yuklab olish uchun chap tomondagi Telegram tugmasini bosing.

Teglar: java PPTX 23 sahifa Bepul yuklash Telegram