We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8829085 commit a3c3853Copy full SHA for a3c3853
string_convert.java
@@ -1,6 +1,7 @@
1
//WAP to take the input of full name and print it in short form
2
//exmaple abhishek sharma>>a.sharma
3
-public class string_convert {
+public class string_convert
4
+{
5
String funtn(String name){//take the input of the string
6
String [] st=name.split(" ");//split the string entered using the split function
7
String str=" ";//declare a empty string
0 commit comments