Java Practical Exam

Results

Share your score!
Tweet your score!
next

#1 By default all class in java are _____

next

#2 ______ is data type in java.

next

#3 “+” operator are used for ________

next

#4 In Java, the _________ keyword is used to instantiate an object.

next

#5 The process of copying data between method calls is referred to in programming as _________

next

#6 A class have two or more methods with the same name but different parameter lists is called ____________

next

#7 A _______ is a special method in a class that is invoked when the object gets instantiated.

next

#8 A Class uses the ____ keyword to inherit from another class.

next

#9 The _________ keyword can also be used in the child class when the child wants to invoke an overridden method in the parent.

next

#10 A _______ class can be extended but cannot be instantiated directly.

next

#11 The _________ keyword may be applied to a class, indicating the class may not be extended.

next

#12 A ___________ is a collection of abstract methods.

next

#13 we can throw your own exceptions using ________ keyword.

next

#14 Which method used in awt to drawstring _______

next

#15 The ________ method returns the number of character in the String.

next

#16 _________ method can be used to position a dialog on the screen.

next

#17 Repaint() calls the ________ method.

next

#18 ________ method can be overloaded.

next

#19 Two Classes in java enable communication using ___________

next

#20 ________ Object is needed to group checkboxes to make them exclusive.

next

#21 The default layout of the panel is __________

next

#22 When we are working on a Windows based platform, the path separator of a file should be _______

next

#23 The __________ method helps in clearing the buffer.

next

#24 Reading or writing can be done even after closing the _______ and___________ source.

next

#25 The Class, ______ does not allow appending data to an existing file.

next

#26 ___________ are also called nested classes.

next

#27 ________ interface is used for creating Statement in JDBC.

next

#28 The methods in a __________ class can be final.

next

#29 __________ is the default layout manage for Frames.

next

#30 ___________ is a abstract class.

next

#31 To compare two strings for equality, one can use ____________

next

#32 __________ is the default value of a Boolean.

next

#33 A class can have only a __________ parent.

next

#34 ___________ class is used to build Client Application.

next

#35 ___________ is the return type of execute update method in the class statement.

next

#36 Java networking capabilities are centralized in the ____________ package.

next

#37 ___________ and _____________ classes are wrapper classes for integer and character datatype.

next

#38 ___________ , _________ and _____________ are statements available in SQL Package.

next

#39 In java.Sql.package, Connection is ____________

next

#40 _____________ is the default priority in thread.

next

#41 Only One layout manager can be used per ___________

next

#42 Java supports _____________ inheritance.

next

#43 __________ contains both abstract and non-abstract methods.

next

#44 JVM stands for _____________

next

#45 Access Modifiers for __________ and ____________

next

#46 In java, char datatype is _________ bit Unicode characters.

next

#47 If the method name and class name are same then, it is called as ____________

next

#48 Super Keyword is used for _____________

next

#49 Does the class can extend more then ________ class.

next

#50 Repaint() method takes ____________ arguments to update a part of the screen.

next

#51 ____________ class is used by server to listen and accept connections to the clients.

finish