Static Attributes and Methods - Why the main method is static?

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • - A program to count the number of objects created from certain class.
    - How to create shared attribute (data field) between objects from certain class?
    - The static members in UML diagram.
    - How to access class members (static members)?
    - When the static attributes are created in memory?
    - The Math class and its static constants and methods.
    - Why the math functions are static?
    - Why the main method is created inside a class in Java?
    - Why the main method is static in Java?
    - The idea behind the hello world syntax in Java.
    Dr. Osama El-Ghonimy
    Java - Spring 2020
    Zagazig University

ความคิดเห็น • 1

  • @zonymony
    @zonymony 3 ปีที่แล้ว +1

    هو ينفع انادي حاجه مش static من ال class سواء method or variable
    edit;
    answer 13:20