p.v.narasimha reddy


{ City } banglore
< Country > india
* Profession * b.e
User No # 4018
Total Questions Posted # 0
Total Answers Posted # 12

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 89
Users Marked my Answers as Wrong # 27
Questions / { p.v.narasimha reddy }
Questions Answers Category Views Company eMail




Answers / { p.v.narasimha reddy }

Question { 7806 }

What is meant by final class, methods and variables?


Answer

when you declare a class as final, that class cannot be
extended.In java "String" class is final.

when you declare the variable as final then we can
intialize it only once.it is constant.

when declare the method as final we cannot override the
method

Is This Answer Correct ?    12 Yes 0 No

Question { TCS, 8938 }

What is the frontend and backedn in Java?


Answer

front end means which u going to have look and feel like
jsp,swings,awt pakage
back end menas which is going to implement the business
logic for you

Is This Answer Correct ?    10 Yes 1 No


Question { 6701 }

Which class is the immediate superclass of the Container
class?


Answer

java.awt.Compoent

Is This Answer Correct ?    8 Yes 1 No

Question { 6872 }

What is servlet tunnelling?


Answer

servlet tunnelling means the ability of a servlet to pass
the the response through the fire wall.

Is This Answer Correct ?    5 Yes 6 No

Question { Sonata, 7717 }

where u use Abstraction and Interface in real time


Answer

Abstraction is used in framework and interfaces are used in
specification

Is This Answer Correct ?    4 Yes 0 No

Question { 3652 }

write the hierarchy of component class?


Answer

abstract class Compoent extends java.lang.Object implents
ImageObserver, MenuContainer, Serializable

the known subclasses are

Button,
Canvas,
Checkbox,
Choice,
Container,
Label,
List,
Scrollbar,
TextComponent

Is This Answer Correct ?    1 Yes 0 No

Question { CTS, 27486 }

int a=1;
float b=1.0;
System.out.println(a==b);


Answer

i am sorry to say anil even if you put double in place
float also you are going to get flase not true.

Is This Answer Correct ?    5 Yes 3 No

Question { IBM, 7933 }

which class to use when concatenating
strings in a loop.


Answer

we any use the both classes String and StringBuffer.
but if we use StringBuffer it would be advatagebecase we
are going to create only one Object.if we use the String
class it is going to create the one for each itration.now
it up to you which one to use

Is This Answer Correct ?    4 Yes 4 No

Question { KPIT, 44994 }

what is the difference between ArrayList and Vector


Answer

i would like to add a new point to above answers.
we can specify the increment size with the vector and with
array list we cannot

Is This Answer Correct ?    37 Yes 5 No

Question { Wipro, 13789 }

jdbc drivers?


Answer

For Stand alone applications u can use the type-1 driver
and when your db is network u canu use the Type-4 driver
but i i dont know about other drivers could any can tell me
when to use other drivers.

Is This Answer Correct ?    0 Yes 2 No

Question { 5637 }

how cani read a command line argument?(usingfile object).


Answer

i getting you exactly. could you beclear with your question?

Is This Answer Correct ?    0 Yes 0 No

Question { 9709 }

what is the difference between statis block and static
variable


Answer

i wolud like a new point to the above answer.
first the static varibles are inistalized then the static
bloks are executed.

Is This Answer Correct ?    3 Yes 5 No