Professional Documents
Culture Documents
Ans-The compiler converts the programme to a platform independent code called byte code.
Ans-collection of classes.
It used to prevent naming control and to make searching and usage of classes to easier.
Q: Define class?
A: A class is the charecterstic and behaviour of an object.
What is Array?
Ans- collection of an element of a single data type store in adjacent memory location .
JRE (Java Runtime Environment) putting a dicision of the Java Virtual Machine which
executes Java programs.
JDK (Java Development Kit) consists of JRE along with the development tools required to
write and execute a program.
Q: What is JAR file?
A: JAR files is Java Archive fles and it aggregates many files into one. It holds Java
classes in a library. JAR files are built on ZIP file format and have .jar file extension.
Q. What is Abstraction?
It refers to the ability to make a class abstract in OOP.Abstraction refers to the act of
representing essential features without including the background details or explanations.
Q. What is Encapsulation?
It is the technique of making the fields in a class private and providing access to the
fields via public methods. If a field is declared private, it cannot be accessed by anyone
outside the class,
Q. What is Inheritance?
Inheritance is the process by which objects of one class acquire the properties of objects of
another class.
Q. What is Polymorphism?
Polymorphism is the ability of an object to take on many forms.
Method overloading: When a method in a class having the same method name with different
arguments is said to be method overloading. Method overriding : When a method in a class having
the same method name with same arguments is said to be method overriding.
It’s a class which is nested within another class. It’s a class which inherits from
another class called super class.
Inner class provides the access rights for the class Sub-class provides access to all
which is nesting it and that can access all variables public and protected methods and
and methods defined in the outer class. fields of its super class.
Q:HarshSet?
A:Don’t duplicate the value store.
If an element is
inserted into the Vector defaults to
Array List, it doubling size of its
increases its Array array.
size by 50%.
Except Hashtable,
Array List can only Vector is the only
use Iterator for other class which
traversing an Array uses both
List. Enumeration and
Iterator.
What is WildCard?
It is searching an object in the list and inserting the object at the end of the list.
java.lang.Object
A super class is a class that is inherited whereas sub class is a class that does the inheriting.
Synchronization is the mechanism that ensures that only one thread is accessed the resources at a
time.
JSP is a technology that returns dynamic content to the Web client using HTML, XML and JAVA
elements. JSP page looks like a HTML page but is a servlet.
56. What is the purpose of apache tomcat?
Apache server is a standalone server that is used to test servlets and create JSP pages.
What is CSS ?
Cascading Style sheets is a style sheet language used for describing the presentation of a document
written in a language like HTML.
It is a remotely serve on the internet to store , manage and process data than a personal computer.
What is angular JS ?
What is JQuery?
What is AJAX?
What is Vb.Net?
What is SQL?
it is used in programming and designed for managing data held in RDMS(relational database
management system)