Core Java Intro Questions - ayushmathur94/DirectQuesAns_Prep GitHub Wiki

1. What is Java ?

Java is a programming language and a platform. ( Platform : Any software or hardware environment in which a program runs is called a platform ). Since Java has its own runtime environment (Java Runtime Environment), therefore it can be called platform.

Java is general purpose , class based , object oriented programming language. Java is strictly typed language, meaning variables and functions must be explicitly(clearly, unambiguously) defined.

  • The programming languages which can fulfill the needs of a wide variety of domains are called as general purpose programming

2. Define Java as a Platform ?

    Since Java has its own runtime environment (JRE) and API. It includes an execution engine, a compiler
    and a set of libraries in it.

3. Where Java is used ?

    1.) Desktop Applications
    2.) Web Apps   (ex. irctc.com)
    3.) Enterprise Applications  (ex. Banking Applications)
    4.) Mobile Apps 
    5.) Embedded System
    6.) Robotics
    7.) Games 
    8.) Smart Cards etc.