Most Used And Popular Programming Languages Of 2018 Install jdk
Download 0.62 Mb.
|
Lesson 1
Lesson 1 Java Overview.Basic Syntax. Arifmetic operators (Java tili va uning asosiy sintaksisi bilan tanishuv)Most Used And Popular Programming Languages Of 2018Install JDK________________________________________________________Install JDK________________________________________________________Install Intellij idea____________________________________________________Install Intellij idea____________________________________________________Install Intellij idea____________________________________________________Install Intellij idea____________________________________________________Compiler___________________________________________________________Cross Platform______________________________________________________Java syntax(Java sintaksisi)Java alfavitiga quyidagi simvollar kiradi.• Katta va kichik lotin alfaviti xarflari (A,B,..,Z,a,b,…,z)• Raqamlar: 0,1,2,3,4,5,6,7,8,9• Maxsus simvollar: “ , {} | [] () + - / % \ ; ‘ . : ? < = > _ ! & * # ~ ^• Ko’rinmaydigan simvollar (“umumlashgan bo`shliq simvollari”).• Leksemalarni o`zaro ajratish uchun ishlatiladigan simvollar (misol uchun bo`shlik, tabulyatsiya, yangi qatorga o’tish belgilari)What is variable ? (O`zgaruvchi nima ?)_________________________________Xotiraning nomlangan qismi bo`lib o`zida ma`lum bir toifadagi qiymatni saqlaydi.What is variable ? (O`zgaruvchi nima ?)_________________________________O`zgaruvchining nomi va qiymati mavjud bo`ladi va shu nom orqali xotiraga murojat qiladi va shu murojatga mos qiymat qaytariladi.What is variable ? (O`zgaruvchi nima ?)_________________________________O`zgaruvchi o`z nomi bilan o`zgaruvchi yani dastur ishlashi mobaynida qiymati o`zgarib turadi.What is variable ? (O`zgaruvchi nima ?)_________________________________Har qanday o`zgaruvchini ishlatishdan avval uni e`lon qilish lozim.Misol uchun:String s; “Hello world” s=“Hello world”int a;float b;Constants ! ! !_______________________________________________________Konstantalar - bu dastur ishlashi davomida qiymati o`zgarmaydigan kattaliklarMisol uchun :final int k=5;//-/**/-Izohlar________________________________________________________
Operators-Operatorlar_______________________________________________
System.out print(“Hello world”);Identifications-Identifikatorlar_________________________________________
Identifications-Identifikatorlar_________________________________________
Key words-(Kalit so`zlar)______________________________________________
Go java programming________________________________________________package com.company;//paket nomi public class Main //asosiy class{ public static void main(String[] args) //asosiy funksiya{ } }Go java programming________________________________________________package com.company; public class Main { public static void main(String[] args) { System.out.println("Hello world"); } }The endDownload 0.62 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling