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
which of these will compile and run? choose all the apply.
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()); } }
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 java collection class can be used to maintain the entries in the order in which they were last accessed?
Which date function advances a date, time or date/time value by a given interval?
Which of the following can be used to read numeric values that contain numeric values and commas into a SAS dataset?