Please choose the correct ending to complete the given sentence: Computers and Electronics: [header] How to encode a string to base64 with java [title] Enter info and name file [title] Start up your editor, such as notepad or vi, and enter the preliminaries, such as the class declaration and known constants. [step] Name the file base64.java. [title] Those constant values are specified, so the article states, in the relevant rfcs.

Ending1: [title] Build as much text as possible on your file as it will include a lot of information available from your letter. [step] ( this is how wikihow tells us how to build a cozy web web. Ending2: [step] It is generally a good idea read all relevant rfcs before beginning coding. [title] Treating characters as bytes means that multibyte characters, such as japanese or chinese, will not be correctly encoded. Ending3: [step] [title] Now click on' file' about the language you wish to encode. [step] Click' paste' when you're ready to proceed. Ending4: [step] Generally, the a1 address and the library metric address are included. [title] Format the list as variable as possible, replacing the horizontal array with working messages which you please.

Answer format: ending1/ending2/ending3/ending4