Robel T. Fesshaye

Infinite Innovation

  • Home

Substrings

Java Strings Part One- 33 Problems with Solutions

January 17, 2016

Problem-1 Given a string name, e.g. “Bob”, return a greeting of the form “Hello Bob!”.  Example: helloName(“Bob”) → “Hello Bob!” helloName(“Alice”) → “Hello Alice!” helloName(“X”) → “Hello X!” Solution public String helloName(String name) {  return “Hello”+” “+ name+”!”; } Problem-2 Given two strings, a and b, return the result of putting them together in the … [Read more…]

Posted in: Java Tagged: Strings, Substrings

Recent Posts

  • How I Passed the AWS SysOps – Associate (SOA-C02) Exam
  • How I Passed the Certified Kubernetes Application Developer (CKAD) Exam
  • How I Passed the Certified Kubernetes Administrator (CKA) Exam
  • How I passed the AWS Solutions Architect (Associate) Exam

Categories

  • App Dev (4)
  • AWS Solutions Architect – Associate (6)
  • Certifications (5)
  • Electrical Engineering (1)
  • Java (7)
  • PHP & SQL (2)
  • Windows OS (4)

Archives

Tags

#Apache #BlockPorn #DualScreen #Fonts #OpenDNS #Port80 Arrays autosave Electron SQLServer Strings Substrings

Copyright © 2025 Robel T. Fesshaye.

Me WordPress Theme by themehall.com