java cert questions
I was not able to get answers for some of the questions java mock tests can
any body help me regarding these.
q. A socket object (s) has been created and connected to a standard internet
service on a remote network server. Which of the following gives suitable
means for reading ASCII data, one line at a time from the socket?
B. new DataInputStream(s.getInputStream());
C. new ByteArrayInputStream(s.getInputStream());
D. new BufferedReader(new InputStreamReader(s.getInputStream()));
E. new BufferedReader(new InputStreamReader(s.getInputStream()),"8859-1");
There is only one correct answer according to the question.
q. In the GridBagLayout when does number of rows and columns decided.
I mean is it after the GridBagLayout obj is created or after the GridBagLayout
Constraints class is created Or when is it.
q. can one stop a thread indefinately ? i know we can use sleep or wait but
it will be only for some time ???
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center