• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

I want to display my two object and i have error : obj1 and obj. Thanks you.

Display obj1 and obj. https://code.sololearn.com/cfwKDHKdwol0/?ref=app

objdispla
2nd Nov 2020, 6:30 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
+ 2
Java does not support operator overloading https://code.sololearn.com/cVPB4LQM782x/?ref=app Use toString() method and convert in string
2nd Nov 2020, 6:40 AM
Prathvi
Prathvi - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
I tried changing my username already to see if the name on the certificates will change but they didn’t .
1 Votes
Started learning python
0 Votes
Hi guys I’m enjoying learning but problem is practice
0 Votes
Websites for frontend developers
1 Votes
Discrete mathematics (python)
0 Votes
Computador
0 Votes
I need help in programing
0 Votes
Error in Ethical AI Foundations course
1 Votes
C++, c# , graphical interface
1 Votes
I need a mentor in coding specifically AI
0 Votes