0

why we will use java to print hello instead of html.

26th May 2017, 2:38 PM
Neeraj Chauhan
Neeraj Chauhan - avatar
2 Réponses
+ 1
that's because sometimes you have to change properties or text by code. Like when you click on a button you could for example show the date. So you listen for the onclick event of the button and print the date when the button is clicked p.s it's javascript not java, if you say it wrong it leads to confusion
26th May 2017, 2:47 PM
Daniel S
Daniel S - avatar
0
thanks
26th May 2017, 2:54 PM
Neeraj Chauhan
Neeraj Chauhan - avatar