Java Programming online Test

Java is
Platform independent
Object Oriented
Architecture neutral
All the above
The following statement: float f=3.14;
is valid
Gives compilation error
generates runtime error
Which of the follwing are key words iin java
public
default
class
All the above
Th default value for a local variable in java is:
0
null
1
no default value
System.out.println(args[1]) prints____________ when the porgram is run with java test 12 23
java
test
12
23
class Demo{ int x; public static void main(String abc[]) { System.out.println("x="+x); } } The above program outputs...
comipilation error
x=0
runtime error
garbage value
Emp e1=new Emp(); Emp e2=new Emp(); Emp e3=e2; e1=e2; e3=null in the above code how many objects are created and then eligible for garbage collection
two, two
two, one
three,three
three, two
Description:

Test on Java Language

Tags:

Java  Computers

Comments
jagadeesh
By: jagadeesh
645 days 15 hours 34 minutes ago

nice test..useful

prapurna
By: prapurna
262 days 17 hours 10 minutes ago

best practising and knowing of java for all the student's

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
1 Follower
Test: 1

Your Facebook Friends on WizIQ

Explore Similar Courses

Develop Android Apps with Java

Price:$300
$40

SAVE 86%

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect