Hello guys
I started learning java language and been thinking why dont we practise english with . I think its great combination for learning. if any language programmer is interested.leave message.
Hello guys
I started learning java language and been thinking why dont we practise english with . I think its great combination for learning. if any language programmer is interested.leave message.
System.out.print("I don't see how programming is going to improve your English.");
Spangola's print statement is correct as you can use both print and println functions. The difference is println will print a new line after the string where print does not.
@milo you are right. I just forgot about that.
Nah, I messed about with it for a while but I'm not learning it.
@spangola
it is *System.out.println.
here Im not going to execute program.we can talk about topics of java like inharitance,polymorphism,upcasting,downcasting,package etc. In this way engish written can be improved and can enhanced our knowledge in java as well.
simple java program>>>>>
class Discussion{
String name,lsubject;
void answerTo(String n,String m){
name=n;
lsubject=m;
System.out.println("My question to "+ name+".");
System.out.println(" ");
System.out.println("Are you also learner of "+lsubject+" language?");
}
}
public class Italki{
public static void main(String args[]){
Discussion dd = new Discussion();
dd.answerTo("Spangola","java");
}
}
output:-
My question to Spangola.
Are you also learner of java language?
