programming languages Online Quiz - 259
Description: programming languages Online Quiz - 259 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
In C++ the function that is used to release the block of memory already used is
Index of an array starts from
Which of the following OOPS concepts are used with cin and cout
Which of the following is used to store data of different types
Which of the following denote operator of logical AND
The class with name exforsys and having integer data x in its have constructor name as
which of these will compile and run? choose all the apply.
How are numeric and character missing values represented internally in SAS?
class A{ int b=10; private A(){ this.b=7; } int f(){ return b; } } class B extends class A{ int b; } class Test{ public static void main(String args[]){ A a=new B(); System.out.println(a.f()); } }
what could be replaced with the "XX" in the following program to compile and run sucessfully? select four choices. class Parent{ public void amethod(int i) throws IOException{ } } public class Child extends Parent{ //XX }
which of the following modifiers can be applied to top level class(i.e., a class which is not enclosed by other class) select all that apply
Class Foo{ Int num; Baz comp=new Baz(); } Class Bar{ Boolean flag; } Class Baz extends Foo{ Bar thing=new Bar(); Double limit; }
Given: class Waiter{ void takeOrders(){ } void serveFood(){ } void takeOrdersAndServe(){ takeOrders(); serveFood(); } }
Select correct answer Given: Class A{ A(){ System.out.print(“A”); } } Class B extends A{ B(){ this(4); super(); System.out.print(“B”); } B(int i){ System.out.print(“C”); } }
Which of the most suitable java collection class for storing various currencies and their equivalent prices in USD if multiple threads access and modify this data? It is required that class should be synchronized inherently
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
How does the following macros will resolve? What will be the output in log file? %let one=two; %let two=three; %let three=one; %put &one; %put &&one; %put &&&one;
Which date function advances a date, time or date/time value by a given interval?
How many observations will be there in the output dataset TEMP? Data temp; Set test (firstobs=50 obs=450); Run;
Which of the following can be used to read numeric values that contain numeric values and commas into a SAS dataset?