programming languages Online Quiz - 336
Description: programming languages Online Quiz - 336 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Which is the most performance efficient implementation for assignCode method from the given options?
Which of the given options code is correct and will not waste memory.
Which code in the given options if put in below Main class will not print “Done”?
Which code from the given options if put in Main class will not print “Done”?
Which is simplest code snippet you will add in the main function to set the name attribute of 50th in the ItemList to “Done”?
Which of the given options code is correct and will not waste memory. Note :- Defination of the Class Item is class Item { public int code; public String name; public Item(String name) { this.name = name; } } itemList is ArrayList containing 50 objects of Class Items.
Which is the most performance efficient implementation for assignCode method from the given options?
Which code from the given options if put in Main class will not print “Done”?
Which of the given options code is correct and will not waste memory. Note :- Defination of the Class Item is class Item { public int code; public String name; public Item(String name) { this.name = name; } } itemList is ArrayList containing 50 objects of Class Items.
Examine this package body: CREATE OR REPLACE PACKAGE BODY forward_pack IS V_sum NUMBER; - 44 - PROCEDURE calc_ord(. . . ); PROCEDURE generate_summary(. . . ) IS BEGIN Calc_ord(. . . ); . . . END calc_ord; END forward_pack; / Which construct has a forward declaration?
which is the value of x and y after running this code? class a { public static void main(String args[]) { int x=1; int y=x++; } }
what is the value of x and y after running this code? class a { public static void main(String args[]) { int x=1; int y=x++; } }
What is the output:class a { public static void main (String args[]) { int x; int y=10; if (y>0) { x = 10; } System.out.println(x); } }
How many times pre query and post query fired when we fetch 10 record from a table ?