subject

When one method calls another method, i want to know which of these are true in java programming / coding.
1. class & 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.
2. class & instance methods of one class may call the public instance methods of another class by using dot notation to invoke a method on an instance method of the other class.
3. instance methods of a class may call only using dot notation, any class method of the same class.
i've felt conflicted on this in ap java and i can only guess statements #1. and #3 are true. as my sample projects tend to follow this trend (but i can't say for sure unless i know the full extent and limits of what could happen). i would like on this and i would appreciate it.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
What is a costume plot? why is it important to a film or theater production?
Answers: 2
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Which explains extrinsic motivation? a)motivation in which there is a reward b)motivation that is personally satisfying c)motivation that is personally meaningful d)motivation in which the subject is interesting
Answers: 1
You know the right answer?
When one method calls another method, i want to know which of these are true in java programming / c...
Questions
question
Chemistry, 12.02.2021 21:30
question
History, 12.02.2021 21:30
question
Mathematics, 12.02.2021 21:30
question
Mathematics, 12.02.2021 21:30
question
Mathematics, 12.02.2021 21:30
Questions on the website: 13722367