Computer Science, asked by sakshisingh116, 6 months ago

write Java statemente for the following:
convert string constant
25" to integer and
store in variable n.​

Answers

Answered by RamyaHarshi
2

Answer:

This chapter explains the basic syntaxes of the Java programming language. I shall assume that you have written some simple Java programs. Otherwise, read "Introduction To Java Programming for First-time Programmers".

To be proficient in a programming language, you need to master two things:

The syntax of the programming language: Not too difficult to learn a small set of keywords and syntaxes. For examples, JDK 1.8 has 48 keywords; C11 has 44, and C++11 has 73.

Hope it helps u

Answered by BHarshithadoctor2010
0

Answer:

The char keyword can only hold 1 character value at a time. By creating an array of characters, you can store string values in it. Example: "char MyName[50]; " declares a string variable named MyName that can hold a maximum of 50 characters

Similar questions