Question: 1 In Network programming, to get an input stream and an output stream, we use: getInputStream() and getOutputStream() methods of Select one: O False O

 1 In Network programming, to get an input stream and an

output stream, we use: getInputStream() and getOutputStream() methods of Select one: O

False O True 5 of If you are told that a file

1 In Network programming, to get an input stream and an output stream, we use: getInputStream() and getOutputStream() methods of Select one: O False O True 5 of If you are told that a file access controller FA contains a method to read students from a file that is called readStudents, complete the below code to get the IDs of all the disactive students knowing that student ID, name and activation code (0 for disactive / 1 for active) are listed. public ArrayList getalldeactivelds() { ArrayList ArrayList allstudents = new ArrayListo: allstudents = fA.readStudents(): for (int i = 0; i Now suppose we run the program at a debugging mode and when the execusion arrived to the breakpoint, we pressed on 'step over' (F3), the line to be executed will be: out of public class test { static void f (int x) { System.out.println ("num is " + x); // ==== A ==== 3 an -> static void g (int x) { f(x); //breakpoint is set here f(1); // ====== B } ========= public static void main (String args[]) { g(2); (3); // ======== C ========= } } Select one: O The line commented with B The line commented with C none of the answers The line commented with A radin huttons Mand F. How can you guarantee that the user can select only one choice at time, Question 9 In an Online Shop App, the items can be viewed in a table as below: Not yet answered Our Items Marked out of 4.00 Unit Price Remarks Flag out of stock question Item Name milk juice gum chocolate 2000.0 1000.0 500.0 1000.0 Available Quantity 0 95 0 45 out of stock To setup the table "itab" dynamically we can use the following code: DefaultTableModel tableModel = new DefaultTableModel(data,col); itab.setModel(tableModel); Determine the type of the attributes: col: Choose.... data: Choose... Choose... String() String Question 10 The Sy ArrayList h will be executed if the second line of the main is inserted between an appropriate ir code of the main method to your own class and add the try/catch to try. You ca Not yet answered String[] []

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!