1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Leona [35]
3 years ago
15

Language: JAVA Can someone please tell me what the problem to my "main" class is?

Computers and Technology
1 answer:
AleksandrR [38]3 years ago
6 0

Answer:

please find the attachment of the correct code:

Output:

Bob : 1234

sue : 5678

pat : 2468

please enter a name to replace with pat:  

Chris

Bob : 1234

sue : 5678

Chris : 2468

Explanation:

In this code, when we create the class object, that is "stu1, stu2, and stu3" and call the parameterized constructor bypassing the "string and integer" value and print the object value you forget to call the "tostring" method because it is the only method which returns both "string and integer" value.  

You might be interested in
_______ are malicious programs that come into a computer system disguised as something else such as a free computer game or scre
Lady_Fox [76]

Answer:

Trojan horses

Explanation:

4 0
2 years ago
Your office printer was working earlier in the day but is no longer printing any documents. Pre-existing workstations are manual
VARVARA [1.3K]

Answer:

I think it is either A or B

Explanation:

3 0
3 years ago
Which for loop syntax is correct?
Ugo [173]

Answer:

C

Explanation:

3 0
2 years ago
For her homework, Annie has added the picture of a fruit in a document. She wants to enhance it to give a cut-out look. Which fe
sattari [20]

Answer: See explanation

Explanation:

Since we are given the information that Annie added the picture of a fruit in a document and wants to enhance it to give a cut-out, she can enhance her document's look by using clip art.

Clips art are simply used for designing and can be used in the illustration of a medium. In this case, the clip art can like a bitmap graphics which typically have a limited quality.

3 0
3 years ago
Read 2 more answers
Online learning is impossible without?
Shtirlitz [24]
<span>Online learning is impossible without "basic computer literacy." Let us assume that everything is already provide, from computers to electricity. You can not move if at least a single idea about the usage of computer is not there, even the basics like turning on, turning off, browsing, etc.</span>
8 0
3 years ago
Other questions:
  • The bearing of point p from A​
    15·1 answer
  • Describe an algorithm that, given n integers in range 0 to k, preprocesses its input and then answers any query about how many o
    15·1 answer
  • A computer with 5 stage pipeline like the one descrive in class delas with conditional branches by stalling for the next three c
    5·1 answer
  • An example of negative self-talk is:
    13·2 answers
  • Which key retains its uniqueness even after you remove some of the fields?
    14·1 answer
  • A computer is an electronic device, operating under the control of instructions stored in its own _______________, that can acce
    7·1 answer
  • One interesting application of two-dimensional arrays is magic squares. A magic square is a square matrix in which the sum of ev
    8·1 answer
  • 1, and
    9·1 answer
  • HELP!!!!!
    7·1 answer
  • the graph at left in the tctct, c-plane models the global wind power capacity, ccc, in gigawatts, ttt years since 199619961996.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!