返回卡包市场

A7

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 24内容版本: v3公开卡包更新时间: 8/1/2026

卡片预览 (24 张)

#1
正面 (问题)

Access level

背面 (解答)

Determines the level of access other files have to the class data or methods

#2
正面 (问题)

Attributes

背面 (解答)

Stores an objects data

#3
正面 (问题)

Class

背面 (解答)

A blueprint what an object stores and how it behaves

#4
正面 (问题)

Class attribute

背面 (解答)

The attribute is created once and it shared between all instance of the class. Class attributes can be accessed through the class name like Math.PI

#5
正面 (问题)

Class method

背面 (解答)

Can only access class attributes, class methods can be access to the class name like math.Pow()

#6
正面 (问题)

Constructors

背面 (解答)

Special methods used for constructing objects

#7
正面 (问题)

Defaults constructors

背面 (解答)

A constructor 0 parameters. When a class has 0 constructors a hidden default constructor is created that will set all objects to null, booleans to false and all other primitives to 0

#8
正面 (问题)

Encapsulation

背面 (解答)

The combining of data into a class

#9
正面 (问题)

Equals

背面 (解答)

A method used to check equality of two objects

#10
正面 (问题)

Final

背面 (解答)

Used to make a variable constant

#11
正面 (问题)

Getter

背面 (解答)

A method that allows public access to a private attribute

#12
正面 (问题)

Information hiding

背面 (解答)

When classes store their data privately prevent unwanted modifications

#13
正面 (问题)

Instance attribute

背面 (解答)

Every instance of an object gets its own copy of the variable

#14
正面 (问题)

Instance methods

背面 (解答)

Can access both instance and class variables. Can only be accessed via through an instance of class

#15
正面 (问题)

Modifiers

背面 (解答)

Sets methods or attribute properties

#16
正面 (问题)

Null

背面 (解答)

A keyword used to denote that a variable is not referencing any object

#17
正面 (问题)

Package

背面 (解答)

A group of related classes

#18
正面 (问题)

Private

背面 (解答)

Data cannot be accessed outside the file

#19
正面 (问题)

Setter

背面 (解答)

A method that allows private attributions to be changed publicly

#20
正面 (问题)

This

背面 (解答)

A keyword used to access the current instance of the class

#21
正面 (问题)

ToString

背面 (解答)

A method used to return a text version of an object

#22
正面 (问题)

What do public classes consist of

背面 (解答)

Other methods, default constructor, data can be modified by classes that share the same package or any subclass, setters, getters, constructors

#23
正面 (问题)

What do private classes consist of

背面 (解答)

Data cannot be acccessed outside the file, information hiding uses this type of data, attributes

#24
正面 (问题)

Static definition

背面 (解答)

Keyword sets an attribute or method to be a class attribute or class method