concat
This commit is contained in:
parent
1c059137ed
commit
cb00299fcb
BIN
.Concat.java.swp
Normal file
BIN
.Concat.java.swp
Normal file
Binary file not shown.
BIN
src/Concat/Concat.class
Normal file
BIN
src/Concat/Concat.class
Normal file
Binary file not shown.
13
src/Concat/Concat.java
Normal file
13
src/Concat/Concat.java
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import java.io.*;
|
||||||
|
|
||||||
|
public class Concat{
|
||||||
|
public static void main(String[] args){
|
||||||
|
String str1="AB";
|
||||||
|
String str2="CD";
|
||||||
|
String str3="ef";
|
||||||
|
String str;
|
||||||
|
|
||||||
|
str= str1.concat(str2).concat(str3.toUpperCase());
|
||||||
|
System.out.println(str);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user