Advertisements
Advertisements
प्रश्न
Explain the following function:
Integer.parseint(in.readLine( ));
थोडक्यात उत्तर
उत्तर
The function readLine() reads the input as a string and an integer.Parselnt() converts the input into an integer.
Syntax:
Buffer:edReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parselnt(in.readLine());
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?