Q1. Java is both a programming language and a platform. Comment.
Ans. Java is both a programming language and a platform. Like any other programming language, we can use Java to write or create various types of computer applications. Thus, Java fits the definition of a programming language.
Java is also a platform for application development. The word platform generally is used to refer to some combination of hardware and system software e.g., operating system Windows Vista on Intel Pentium V or Windows NT on DEC Alphas or System 8.5 on PowerMacs etc. The Java Platform is a new software platform different from many other platforms; it is designed to deliver and run highly interactive, dynamic and some secure applications on networked computer systems.