Answer:
1.ClassName and . operator
2. ClassName and [] operator
Explanation:
There are two ways to get the members of a class first one is by using dot(.) operator.
Example : with assumption that person is a class object and age is the member in it we can use it as:
person.age
Second way is to use [] operator with member as a string in it which is used by the compiler as key to get its value.
Example : person["age"]
Answer:
The answer is "2".
Explanation:
In the given question some information is missing, that is "The propagation time for satellite to earth" which is "270 milliseconds" so, the description to this question can be defined as follows:
Given values:
Bandwidth = 64 kbps
Data frames = 512 bytes
Propagation Time (tp ) =270 ms
Change Bandwidth kbps to bps:
1 kb= 1024 bytes
calculated bandwidth= 64 kbps = 64×1024 bps = 65536 bps
1 bytes = 8 bits
512 bytes = 512 × 8 = 4096 bits
Frame length = 4096 bits
Formula
Transmission time (Tt) = Frame length /Bandwidth
Window size = 1+2a
where a = Propagation time/Transmission time
Calculate Transmission time:
Transmission time (Tt) = 4096 / 65536
Transmission time (Tt)= 625 m.sec
Calculate Window size:
Window size = 1+2(270/625)
Window size
= 1+2(0.432)
Window size
= 1+0.864
Window size = 1.864
Window size
= 2
The answer to this is B=MODE(A1:A65)
Answer:
I. The class methods and instance methods of one class may call the public class methods of another class using dot notation and referencing the name of the other class.
Explanation:
Private methods are being accessed from only within the class or scope specified. No other means of accessibility is possible, and even through inheritance. And instance methods can never call without using dot notation, any of the class method of the same class. Hence second and third options are not correct. And the class method and the instance methods of one class may call the public class methods of another class using the dot notation and referencing the name of the other class. Hence, the correct option is the first one.