Puas yog Java muaj cov neeg sawv cev zoo li C#?
Puas yog Java muaj cov neeg sawv cev zoo li C#?

Video: Puas yog Java muaj cov neeg sawv cev zoo li C#?

Video: Puas yog Java muaj cov neeg sawv cev zoo li C#?
Video: Dab ntxwg nyoos yog leej twg ...zaj no zoo heev. 2024, Kaum ib hlis
Anonim

Tsis zoo li muaj nuj nqi pointers hauv C los yog C ++, cov neeg sawv cev yog yam khoom-oriented, hom-safe, thiab ruaj ntseg. Hais tias, Java ua tsis yog muaj delegates zoo li C#. Txawm li cas los xij, txij li Java 8, mus muaj qee yam kev ua haujlwm pointers los ntawm kev siv cov qauv siv thiab kev ua haujlwm interfaces.

Ib yam li ntawd, nws tau nug, C# thiab Java zoo sib xws li cas?

C# thiab Java yog zoo sib xws hom lus uas ntaus statically, muaj zog, thiab manifestly. Ob qho tib si yog cov khoom taw qhia, thiab tsim los nrog kev txhais lus ib nrab lossis lub sijhawm sib sau ua ke, thiab ob qho tib si yog cov lus curly brace, zoo li C thiab C ++.

Ib yam li ntawd, yog C# theej los ntawm Java? Tsis yog, C# tsis yog a luam ntawm Java . C# yog ib qho evolution ntawm cov lus C-style, uas Java kuj yog ib feem ntawm.

Tsis tas li ntawd, C# puas zoo li Java lossis C ++?

Java yog qhov ze tshaj plaws. C# yog npaj los ua ib qho kev txuas ntxiv ntawm C ++, thiab txhawb qee qhov #style compiler cov lus qhia, tab sis ib puag ncig uas koj tab tom ua haujlwm yog ntau ze rau Java . Cov chav kawm yog txhais nyob rau hauv ib cov ntaub ntawv, thiab ntau cov chav kawm tuaj yeem txhais tau hauv tib cov ntaub ntawv.

Kuv yuav tsum kawm Java lossis C#?

C# yog cov lus siv tshwj xeeb rau kev txhim kho Windows raws li cov ntawv thov, yog nws Windows 8 Metro apps lossis koj daim ntawv thov desktop txhua hnub. Java yog ib hom lus ntau yam nrog ntau yam kev siv ntau dua C# . Tshwj xeeb tshaj yog, Java yog cov lus tseem ceeb siv rau Android Development.

Pom zoo: