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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:31, tbt81
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
image
Computers and Technology, 23.06.2019 06:30, jayjay5246
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
image
Computers and Technology, 23.06.2019 08:30, sofigaviria05
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
Answers: 3
image
Computers and Technology, 23.06.2019 14:30, soapai
Select the correct answer. sean is a computer programmer. he has programmed an application for toddlers that plays nursery rhymes. however, a logic error has occurred in the program. which problem is a likely consequence of the error? a. the program crashes every time the user wants to play the nursery rhymes. b. the program crosses its buffer boundaries and overwrites an adjacent program. c. the program plays a different nursery rhyme than the one the user intended to play. d. the program shows different structures in its programming language code. e. the program introduces new viruses every time the user plays a nursery rhyme.
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 in other subjects:

Konu
Mathematics, 22.01.2021 16:40
Konu
Mathematics, 22.01.2021 16:40