IBM
Company
HR Interview
Interview
if any one have give the technical interview in that they more focus on programming coding or not
Read Solution (Total 8)
-
- Yes...U hv concentrate on JAVA
- 8 years agoHelpfull: Yes(1) No(0)
- u have to concentrate on only string programs
- 7 years agoHelpfull: Yes(1) No(0)
- can u send java code for "WAP to transform strings of lowercase alphabet characters by replacing each letter with the subsequent character in the eng alphabet.
for eg: if u enter "hello" the output "ifmm" - 7 years agoHelpfull: Yes(1) No(0)
- wht to do in programing?
- 8 years agoHelpfull: Yes(0) No(0)
- Sri revanth only core Java na
- 8 years agoHelpfull: Yes(0) No(0)
- Tanjali Manohar Miskar you got any mail from IBM for further rounds.
- 8 years agoHelpfull: Yes(0) No(0)
- any one got mail regarding Referral drive date for Banglore location????
- 7 years agoHelpfull: Yes(0) No(0)
- WAP to transform strings of lowercase alphabet characters by replacing each letter with the subsequent character in the eng alphabet.
-------------------------------------------------------------------------------------------------------------------------------------------------
import java.util.Scanner;
public class HelloWorld{
public static void main(String []args){
char ch;
Scanner sc=new Scanner(System.in);
String str = sc.nextLine();
String newString = "";
for (int i = 0; i < str.length(); i++ ) {
ch=str.charAt(i);
if(Character.isLowerCase(ch))
{
int ascii = (int)str.charAt(i);
char newChar = (char)(ascii + 1);
newString = newString+newChar;
}
else if(Character.isLowerCase(ch))
{
int ascii = (int)str.charAt(i);
char newChar = (char)(ascii);
newString = newString+newChar;
}
else
{
char newChar = ch;
newString = newString+newChar;
}
}
System.out.println(newString);
}
} - 6 years agoHelpfull: Yes(0) No(0)
IBM Other Question