niranjan


{ City } vijayawada
< Country > india
* Profession * student
User No # 1362
Total Questions Posted # 0
Total Answers Posted # 113

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

Users Marked my Answers as Correct # 1381
Users Marked my Answers as Wrong # 347
Answers / { niranjan }

Question { 5544 }

Name two subclasses of the TextComponent class?


Answer

TextArea and TextField

Is This Answer Correct ?    4 Yes 1 No

Question { 9488 }

Can a double value be cast to a byte?


Answer

yes

Is This Answer Correct ?    24 Yes 2 No


Question { 5822 }

What is the default initialized value of String type
variable?


Answer

null

Is This Answer Correct ?    4 Yes 1 No

Question { 4462 }

What is the default initialized value of a boolean type
variable?


Answer

false

Is This Answer Correct ?    7 Yes 0 No

Question { 6225 }

When garbage collector invokes object?s finalize() method?


Answer

when it detects vthat the object has become unreachable

Is This Answer Correct ?    0 Yes 0 No

Question { 6497 }

How Applets & Servlets will communicate with each other?


Answer

1.RMI Communication
2.Socket communication
3.HTTP Communication

Is This Answer Correct ?    3 Yes 1 No

Question { 6638 }

How do you compare two strings? any predefined method for
this?


Answer

equals() method

Is This Answer Correct ?    8 Yes 2 No

Question { 8473 }

what is the Use of throws exception?


Answer

it is used to throw the list of exceptions that a method
has to throw.
Syntax:
returntype methodname(list of args)throws
exception1,exception2{
body
}

Is This Answer Correct ?    15 Yes 6 No

Question { 6057 }

What are order of precedence and associativity, and how are
they used?


Answer

order of predecence determines the in which the expressions
are to be evaluated.
associativity determines the order in which the operands
are to be evaluated eithet left to right or right to left

Is This Answer Correct ?    3 Yes 1 No

Question { Satyam, 10445 }

What are the OOPS concepts in Java ?


Answer

Polymorphism,Inheritance,Encapsulation,Abstraction

Is This Answer Correct ?    43 Yes 1 No

Question { 7957 }

What are access modifiers in Java ?


Answer

we have 4 access modifiers in java.
public
private
protected
default

Is This Answer Correct ?    14 Yes 5 No

Question { 33348 }

Different types of Layouts?


Answer

BorderLayOut,GridBagLayout,GridLayout,CardLayout

Is This Answer Correct ?    58 Yes 16 No

Question { 3514 }

methods in Applet?


Answer

init()
start()
paint()
stop()
destroy()

Is This Answer Correct ?    5 Yes 0 No

Question { 4995 }

What are packages and name a few?


Answer

packages are separate naming context fora group of classes
and interfaces.It provides a high layer of access
protection and name space management.Theya re also used to
organise related classes and interfaces into a single API
unit and to control the accessibility of these classes and
interfaces.
java.lang,java.lang.Throwable.javax.servlet.java.rmi

Is This Answer Correct ?    1 Yes 0 No

Question { Greenwood, 30074 }

What are the limitations for static method?


Answer

cdan not be reffered to this or super
can only access static data
can only call other static methods

Is This Answer Correct ?    26 Yes 4 No

Prev    1   2    [3]   4   5   6   7   8    Next