मराठी

Class variables ae also known as ______ variables.

Advertisements
Advertisements

प्रश्न

Class variables ae also known as ______ variables.

पर्याय

  • publlic

  • instance

  • static

  • default

MCQ
रिकाम्या जागा भरा
Advertisements

उत्तर

Class variables ae also known as static variables.

Explanation:

In Java, class variables are declared using the static keyword. Unlike regular instance variables, a static variable has only one single copy shared across the entire class, meaning all objects created from that class access and change the exact same memory location

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Encapsulation - Exercises [पृष्ठ १४८]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 6 Encapsulation
Exercises | Q 1. (vi) | पृष्ठ १४८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×