Professional Documents
Culture Documents
1.What is java?.
Ans - Java is popular high-level, class-based object oriented programming language originally
it was developed by Sun Microsystems and was released in 1995.
2.What is the concept of OOPs?.
Ans - OOPs refers to languages that use objects in programming, The main aim of OOP is
to bind together the data and the functions that operate on them so that no other part of
the code can access this data except that function
3.What is the use of inheritance?.
Ans – The main use of inheritance is that the parent property inherited in child class, in
other words inheritance in Java is a mechanism in which one object acquires all the
properties and behaviors of a parent object. It is an important part of OOPs
4.Define byte code?.
Ans - Byte Code can be defined aprins an intermediate code generated by the compiler
after the compilation of source code(JAVA Program). This intermediate code makes Java a
platform-independent language. Java bytecode is also the instruction set for the Java
Virtual Machine
5.Explain java virtual machine.
Ans - Java virtual machine is a virtual machine that work on top of our operating system to
provide a recommended environment for our compiled java code.basically it is a
environment where java compiled code runs smoothly, it also provides runtime
environment to drive the Java Code or applications