-
Userdefined Unchecked Exceptions
Java has Userdefined Unchecked Exceptions or not? If answer is YES, How to create Userdefined Unchecked Exceptions?
-
What is a constructor ?
A constructor is a special member function which will construct an object with user defined values whenever object is created OR A constructor is a special member function which will be called automatically to initialize the data member of a class whenever object is instantiated.
-
The term _____________ refers to a class's direct ancestor or to any of its ascendant classes.
Skill/Topic: InheritanceA) Sub ClassB) Super ClassC) Class hierarchy
-
Interface and Inheritance
Explain why we go for interface instead of multiple inheritnace?
-
What are all the methods available in the Thread class?
A) isAlive(),join()B) resume(),suspend()C) stop(),start()D) sleep(),destroy()
-
-
-
Inner Class
What is Inner Class? What is use of it?
-
-
Java Constructor
How to use a constructor in a Java program?
-
-
Java iText
I would like to create a PDF file using java and iText , getting data from the database.I am looking for examples.
-
How does Java handle integer overflows and underflows
It uses those low order bytes of the result that can fit into the size of the type allowed bythe operation.
-
-
-
Printing numbers in spiral shape
I need an algorithm for some program. I'll take some number (say 'n'), then i should print the numbers in spiral shape starting from square(n). Can any one pls help me..Ex: if n=3, it should print like9 8 72 1 63 4 5Thanks in advance
-
Conditional Statements
What are Conditional Statements?
-
-
An _________ is a special kind of Java program that is designed to be transmitted over the Internet
A) ViewletB) AppletC) ServletD) Object
-
The Separator, Comma is Used to separate package names from subpackages and classes
A) TrueB) FalseExplanation: Comma Separates consecutive identifiers in a variable declaration while the Period . is Used to separate package names from subpackages and classes
Java Interview Questions
Ans