https://www.useblackbox.io/search
Use This Website to Search any Coding Questions
For Ex
1) Addition Two Number in Java
2) Find the odd number in CPP
But In the Last Of question Programming language name Is compulsory Add
Use This Website to Search any Coding Questions
For Ex
1) Addition Two Number in Java
2) Find the odd number in CPP
But In the Last Of question Programming language name Is compulsory Add
www.blackbox.ai
BLACKBOX AI
BLACKBOX AI - The Universal Agent Platform. Orchestrate Claude, Codex, Gemini & Blackbox agents from one interface. 30M users, 4.7M+ VS Code installs, 300+ AI models. Free to start.
👍1🔥1
Write a program to convert lower case to upper case in java ?
> public static void main(String[] args) {
String str = "Hey How Are you";
String newString = "";
for (int i = 0; i < str.length(); i++) {
char ch = str.charAt(i);
if (Character.isUpperCase(ch)) {
ch = (char) (((int)ch) + 32);
} else if (Character.isLowerCase(ch)) {
ch = (char) (((int)ch) - 32);
}
newString += ch;
}
System.out.println(newString);
}
> public static void main(String[] args) {
String str = "Hey How Are you";
String newString = "";
for (int i = 0; i < str.length(); i++) {
char ch = str.charAt(i);
if (Character.isUpperCase(ch)) {
ch = (char) (((int)ch) + 32);
} else if (Character.isLowerCase(ch)) {
ch = (char) (((int)ch) - 32);
}
newString += ch;
}
System.out.println(newString);
}
👍1
Guys || What kind of developer are you love ?
Anonymous Poll
75%
Full stack Developer
25%
Frontend Developer
0%
Back-end Developer
0%
Python Developer
0%
Java Developer