Font size
WorksheetsWeek 1 quize
Total questions: 7
Worksheet time: 5mins
What is the use of PUBLIC STATIC VOID MAIN(STRING[]ARGS) in a given java code?
Java main method is the entry point of any java program
Stops JVM data leackage
Compress the compiler error.
None of these
How to declare a variable?
Type Var_name = value;
Var_name type= value;
Type Var_name = value
Var_name type = value
What is default value of a boolean statement in java?
True
False
Depends on the user input
Depends on class saved by user
What is the output of the given code
21
22
21
20
21
22
21
21
21
23
22
21
21
21
22
20
Does this code works? if yes, what will be the output?
YES ,8.2758
NO
yes, csi
yes,eee
Class name is different with file name
What error you will be getting during compiling your code?
Thread exception
Unresolved compilation problem
file not found exception
none of them
Pick up the data types from the following
String
Int
Float
Boolean
