hi,
Given A = 1, B = 2, C = 3, D = 4 ?? Z = 26, write a logic of java standalone
program to encode the word ? india ? into numbers.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Nov 1, 2011, 1:03 PM EDT
Notice that you need to precede the numbers for the letters A to I by '0' so that each number is 2 digits long and could therefore be decoded back to the original string.
Javeed M ShaikhRank #839 · 2.7K reputationPosted Nov 1, 2011, 1:07 PM EDT
VulpesRank #55 · 29.2K reputationPosted Nov 1, 2011, 1:10 PM EDT
Daril148 reputationPosted Nov 20, 2021, 12:47 AM EST
I used toLowerCase() to make the uppercase and the lowercase the same.
The output will be.
Surbhi Nahta6 reputationPosted Jun 22, 2022, 2:18 AM EDT
Significant's Java preparing contains learning significant parts of Java like Java 8, Core Java, Java EE, Spring, Hibernate and Spring Boot Frameworks, JDBC Architecture, and numerous others points". It is a finished learning bundle to assist you with turning into a complete Java proficient!