NPTEL - Programming In Java -Week 02 : Assignment 02

 

Week 02 : Assignment 02


Due date: 2024-02-07, 23:59 IST.


In Java programming an object can take many forms. This feature is called ______.
 
Which of the following is a valid declaration of an object of class, say NPTEL?
 
A default constructor_______________________
 
A top-level class may have which one of the following access modifiers?
 
Integer in Java is a\an _______.
 
What is true about the new operator?
 
Which one is not supported by OOP?
 
Which of the following modifiers can be used to disallow a method from being overridden?
 
Consider the following code segment


Identify the line number(s) where there is/are error(s) in the above code.

 
Which of the following is TRUE about print() and println() methods?
 

Post a Comment

Previous Post Next Post