write a valid java statement to declare and also initialize a character array of uppercase vowels
Answers
Answer:
A good programming language should be adept to handle all data types. Lot of the data processed these days, also has characters in it. Java which is one of the best programming languages makes use of char array to hold data. In this article we would exploring everything that is there to know about them.
Following pointers will be discussed in this article,
Declaring Char Array
Initializing Char Array
Loops In Char Array
Length Of Char Array
Sorting A Char Array
Converting A String Array Into Char Array
Let us start with a quick introduction to Char array,
Char Arrays are highly advantageous. It is a noted fact that Strings are immutable i.e. their internal state cannot be changed after creation. However, with char arrays, character buffers can be manipulated. While the data structures List and Set are also acceptable, arrays prove to be simplistic and efficient. Furthermore, Char arrays are faster, as data can be manipulated without any allocations.
Explanation:
plz follow me and thanks my answer and mark as brainlist....
hope it helped u...