friend in this series we are going to cover question of web technology previous question rest of the question of the series are available on the technical question.
SECTION A
Q1. what is byte code?
Ans.
- It
is an intermediate code. - It
is generated when java program is compiled by javac compiler. - It
is not high-level language not machine level language. - It
provides platform independent.
Q2.
What is constructor?
What is constructor?
Ans.
- Constructor
is a block of code which initialized the newly created object. - It
has no return type. - Constructor always has same name as the class name.
- It
can be overloaded. - It
is used to initialized the object. - A
constructor is called automatically at the time of object creation. - There
are 2 types of constructor –
- Default
constructor - Parameterized Constructors
Q3. What is instance variable?
Ans.
- Instance
variable in java is used by the object to store their states. - Variable
which belongs to object have same value is called instance variable. - Instance
variable declared outside the any method and within the class. - There
variable is created when object of the class created and destroy when object
destroy. - Initialization
of Instance Variable is not Mandatory. Its default value is 0.
Q4. What is it appropriate to use frames?
Ans.
- A
collection of frame is called frameset. - Frames
are used to divide your browser into multiple parts and each section can load a
separate HTML document. - The frame is used to divide the window tables are
organized: into rows and columns.
Q5. What
is the use of alternative text in image mapping?
is the use of alternative text in image mapping?
Ans.
- If
the images can-not be found due to any resigon then alternative attribute
display those text are mention in alternative
text. - It
is define by alt keyword.
Q6.
What are the two major protocols for accessing email from servers?
What are the two major protocols for accessing email from servers?
Ans.
- IMAP
(Internet message access protocol) and POP3 are the two most commonly
used Internet mail protocols for retrieving emails.
Q7.
what do you mean by checked exceptions?
what do you mean by checked exceptions?
- Checked
exceptions are checked at compile-time. - Checked
exception is type of exception - Ex.
IOException, SQLException, ClassnotFoundException etc - Checks
exception does not propagate - it
should handle the exception using try-catch block or it can be
propogated using throws keyword.