Question # 1 of 10 ( Start time: 11:23:02 PM ) Total Marks: 1
The _________ in Java is passed by value but ______ is passed by reference.
Select correct option:
Object , Parameters
Parameters , Object
Arguments , Reference type
Reference type , Primitive type
Question # 2 of 10 ( Start time: 11:23:42 PM ) Total Marks: 1
Which of the following are the types of constants in Prolog
Select correct option:
atoms and numbers.
single and decimal
short and char
float and numbers
Question # 3 of 10 ( Start time: 11:23:58 PM ) Total Marks: 1
In Java the ______________are not objects. All of the rest are objects, or any ___________ is called as object.
Select correct option:
generic type , reference type
primitive types , generic type
Reference type , generic type
Reference type , primitive types
Question # 4 of 10 ( Start time: 11:24:35 PM ) Total Marks: 1
In Java which of the following is not Primitive Type
Select correct option:
byte
short
decimal
int
Question # 5 of 10 ( Start time: 11:24:56 PM ) Total Marks: 1
Prolog is considered to be as ________
Select correct option:
case and type insensitive
case and type sensitive
case sensitive and type insensitve
case insensitive and type sensitive
Question # 6 of 10 ( Start time: 11:25:14 PM ) Total Marks: 1
In Prolog language____is used for comments.
Select correct option:
//
%
&
’
Question # 7 of 10 ( Start time: 11:25:25 PM ) Total Marks: 1
Method that would be free functions in _________(not members of any class) should be static method in _________.
Select correct option:
Java , C#
C++ , C#
Java , C++
C++ , Java
Question # 8 of 10 ( Start time: 11:25:42 PM ) Total Marks: 1
For inheritance we use______ for interface we use________ keywords.
Select correct option:
subclass:baseclass , virtual function
overloaded , virtual
extend , implement
virtual function , overloaded
Question # 9 of 10 ( Start time: 11:26:12 PM ) Total Marks: 1
In ________ for final fields and methods the value is assigned later but in ______ you assign the value during declaration.
Select correct option:
Java , C++
C++ , C#
Java , C#
C++ ,Java
Question # 10 of 10 ( Start time: 11:26:41 PM ) Total Marks: 1
The Java Bytecode is created by the Java compiler and is stored in ____ file
Select correct option:
.exe
.sys
.class
.jvm