public class JavaApplication1 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String first_name;
first_name="ahmed";
String last_name="abdulkarim";
System.out.println("first name is : "+first_name+" last name is : "+last_name);
System.out.println(first_name+" "+last_name);
char f_name='A';
char l_name='K';
System.out.println(f_name+" "+l_name);
}
}
output:-
0 التعليقات:
إرسال تعليق