Question about Classes

+1 Austin Elliott · April 13, 2015
I just learned that when defining a String, you are actually using a predefined class. My question is, why did you not have to create a String object? I'm a bit confused on Object Oriented Programs, so sorry if this question is really basic.

Post a Reply

Replies

Oldest  Newest  Rating
0 Yaron X · April 13, 2015
I think the String class is a special case.

https://www3.ntu.edu.sg/home/ehchua/programming/java/J3d_String.html
  • 1

Java / Android Development

107,312 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator