📜  java中的字符串表示为-Java代码示例

📅  最后修改于: 2022-03-11 14:52:42.938000             🧑  作者: Mango

代码示例1
A String is represented as objects in Java. Accordingly
an object contains values stored in instance variables 
within the object. An object also contains bodies of code 
that operate upon the object. These bodies of code are called methods.
  
Example:
    String string = "This is a string";