2 Replies - 525 Views - Last Post: 27 April 2015 - 10:00 PM Rate Topic: -----

#1 !Conqueror   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 17
  • Joined: 12-February 15

What is the difference between string and String?

Posted 27 April 2015 - 08:28 PM

What is the difference between string and String (note the case)
Is This A Good Question/Topic? 0
  • +

Replies To: What is the difference between string and String?

#2 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12305
  • View blog
  • Posts: 45,401
  • Joined: 27-December 08

Re: What is the difference between string and String?

Posted 27 April 2015 - 08:58 PM

There is no type string in Java. That's a C++ type. There is a String class in Java.
Was This Post Helpful? 0
  • +
  • -

#3 ndc85430   User is online

  • I think you'll find it's "Dr"
  • member icon

Reputation: 801
  • View blog
  • Posts: 3,264
  • Joined: 13-June 14

Re: What is the difference between string and String?

Posted 27 April 2015 - 10:00 PM

Another answer: "string" is a noun for "a sequence of characters" and "String" is a Java class that models a string.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1