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 ???
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL