Which package/ packages are required to work with Strings in Java? Elaborate
Ans i. java.lang.*;
ii. java.util.*;
iii. java.io.*;
Answers
Answered by
0
Answer:
Built-in Packages
These packages consist of a large number of classes which are a part of Java API.Some of the commonly used built-in packages are:
1) java.lang: Contains language support classes(e.g classed which defines primitive data types, math operations). This package is automatically imported.
2) java.io: Contains classed for supporting input / output operations.
3) java.util: Contains utility classes which implement data structures like Linked List, Dictionary and support ; for Date / Time operations.
Similar questions
Math,
13 days ago
English,
13 days ago
Biology,
13 days ago
Accountancy,
26 days ago
Math,
26 days ago