neemadev


{ City } coimbatore
< Country > india
* Profession * lecturer
User No # 11184
Total Questions Posted # 0
Total Answers Posted # 13

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

Users Marked my Answers as Correct # 363
Users Marked my Answers as Wrong # 69
Questions / { neemadev }
Questions Answers Category Views Company eMail




Answers / { neemadev }

Question { 9752 }

Explain Stream Tokenizer?


Answer

The StreamTokenizer class takes an input stream and parses
it into "tokens", allowing the tokens to be read one at a
time.

Reader r = new BufferedReader(new InputStreamReader(is));
StreamTokenizer st = new StreamTokenizer(r);

Is This Answer Correct ?    7 Yes 1 No

Question { 5197 }

How can you take string into InputStream?


Answer

string are converted to bytes and taken to FileInputStream

Is This Answer Correct ?    0 Yes 1 No


Question { 3547 }

How applets will communicate with each other?


Answer

applet communicates each other by using its name.
an applet can be identified by its name

Is This Answer Correct ?    4 Yes 0 No

Question { 13014 }

How to add panel to a Frame?


Answer

yes panel can be added to a frame

Is This Answer Correct ?    40 Yes 10 No

Question { 4427 }

What is hypertext?


Answer

a text which is linked to another file is called as hyper
text... tag is used to link a hyper text.

Is This Answer Correct ?    5 Yes 0 No

Question { 4753 }

What are command line arguments?


Answer

the value which are passed from command line to java
programs main method are called as command line arguements.

Is This Answer Correct ?    6 Yes 0 No

Question { 7678 }

Name the packages in JDK?


Answer

lang, util, io, net, applet, awt

Is This Answer Correct ?    3 Yes 1 No

Question { MindCracker, 4460 }

Define interface?


Answer

Java doesnot support multiple inheritance.
interface is a way to achieve multiple inheritance in java,
an interface contains only abstract methods and final
variables.
the class that implements the interface should define the
code for the methods

Is This Answer Correct ?    7 Yes 1 No

Question { 3480 }

What is the Dictionary class?


Answer

Dictionary class is defined in util package.
Its a key/value repository.

Is This Answer Correct ?    1 Yes 0 No

Question { Infosys, 8442 }

Can we use resume in error handling i.e. in the catch block


Answer

resume() can be used only with threads

Is This Answer Correct ?    1 Yes 1 No

Question { CSC, 10690 }

what is mean by overriding in which situation we wil use?


Answer

If we have same method name in the super class as well as
in the sub class, then the method in the subclass is said
to override the method in the super class.

Is This Answer Correct ?    25 Yes 4 No

Question { 6839 }

Waht is inheritance


Answer

inheritance is way to access the properties of super class

Is This Answer Correct ?    3 Yes 0 No

Question { Spenco, 80455 }

what is difference between throw and throws in exception?


Answer

"throw" is used to handle user-defined exception.
JVM handles the exceptions which are specified by "throws"

Is This Answer Correct ?    261 Yes 50 No