“java is vry clse to real lyf lang den,”adition of 2numbers?” yes posible to write a prog,then cn v writ a prg fr”yesterday i saw a movie”"
“Why not, it is easy in the case of java language.we can easily built a program on it.”
–Dhanunjay@04009017
“I didn’t understand the question.May be the answer is
System.out.println(“i have gone to movie yesterday”); “
–Pradeepthi@04009030
“We can directly write in println statement to display it..OR the question is related to real life?That means do we need to implement any artificial intelligence concept over here.
and using java,
class movie
{
String m[100] //Taking a string data member…
movie(String m);
}
movie(String m)
{
System.out.println(“yesterday i saw a movie”);
}
in this way we can write. OR we need to implement artificial intelligence in object oriented world.”
–Mounika@04009023
“yes, we can implement the program with that.Before that we have to know some reasons why this question raises.
when we observe the question,
1)Not an instruction giving to the computer.
2)and we want the message without giving an instruction.
so it clearly shows that a face to face interaction between a computer and a human.and a regular interaction between them. that is, as we seen a conversation between humans, like that a human & machine conversation. so it should be like “Sixth sense”.
Now so when we see the flow of the program in java, without an object it won’t accept in JVM. by using java we can easily implement using object.
An “object” is nothing but combination of attributes and actions(functions). by taking attributes and functions for those question and implement it.
Finally my conclusion is, it seems very difficult to implement by using java so it needs some New Language.
–koushik@04009016