System.out.print(“SMART”); System.out.print(“INDIA”); What is the output of the above code?
SMARTINDIA
SMART
INDIA
SMART INDIA
INDIASMA INDIA
Which is not a reference datatype?
Boolean
Class
Interface
Array
Programming codes are created by using
Numbers
0's and 1's
Tokens
Characters
Which method isused to show messagebox on the GUI window?
JOptionPane. MessageBox(true,”Message to print”);
JOptionPane.showMessageDialog(null,”Message to print”);
JOptionPane.showMessageBox(true,”Message to print”);
References datatype variable storing
File
Address
Function
Which is not an assignment operation?
a%=b ;
a/=b ;
a==b ;
a+=b;
Combination of operators,constants and variables are called
programs
expression
function
array
What is the initial default value of a float number?
0
0.00F
0.0F
1.0
What is the size(in bytes) of short integer datatype.
1 byte
2 byte
4 byte
8 byte
A complete unit of execution of a program is called
Scope
Block
Statement
Expression