Java Programming

1156 Words5 Pages
JAVA Programming PAPER Q1. A template argument is preceded by the keyword ________. ► vector ► class ► template ► type* Q2. Which of the following causes run time binding? ► Declaring object of abstract class ► Declaring pointer of abstract class ► Declaring overridden methods as non-virtual ► None of the given Q3. A function template can not be overloaded by another function template. ► True ► False Q4. Which of the following is the best approach if it is required to have more than one functions having exactly same functionality and implemented on different data types? ► Templates ► Overloading ► Data hiding ► Encapsulation…show more content…
They are used in inheritance ► protected ► public ► private ► global Question No: 23 ( Marks: 1 ) - Please choose one Which of these are examples of error handling techniques ? ► Abnormal Termination ► Graceful Termination ► Return the illegal ► all of the given Question No: 24 ( Marks: 1 ) - Please choose one
Get Access