- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Why we do not import a package while we use any string function?
The String class belongs to the java.lang package. This is the default package of the Java language therefore it is not mandatory to import it to use its classes.
- Related Articles
- Why do we use import * and then ttk in TKinter?
- Can we define a package after the import statement in Java?
- Why do we use Convex Mirrors ?
- Why do we use "use strict" in JavaScript?
- Why do we use import statement in Java? Where it should be included in the class?
- Why we do not drink sea water?
- Why do we use random.seed() in Python?
- Why do we use jQuery over JavaScript?
- Why do we use interfaces in Java?
- Why do we use pandas in python?
- Why do we use brackets in BODMAS?
- Why do we Use JavaScript in HTML?
- Why do we use a plus sign in front of function name in JavaScript?
- Why do we use a volatile qualifier in C++?
- Why should we not use ++, -- operators in JavaScript?

Advertisements