Is the String class part of the core java language?
My teacher said I am only allowed to use the String class for my assignment if it is part of the core language that I am using.
Since I am using Java, is using the String class allowed?
Is the String class part of the core java language?
My teacher said I am only allowed to use the String class for my assignment if it is part of the core language that I am using.
Since I am using Java, is using the String class allowed?
Yes.
The String class is mentioned in the Java Language Specification (JLS), which is the document that defines the Java language.
It is mentioned in JLS § 4.3.3.
The term 'core language' is not a term which has an established definition in Java.