'var' was introduced in which version of Java
Version 8
Version 9
Version 10
Everytime we create object, _______ is called
Method
Reference variable
Constructor
Class
______ keyword is a special reference variable that holds object address and gets created automatically when we create an object
null
new
this
void
______ in java are folders created to store programs in organized manner
Interfaces
Class
Packages
If you want to access a variable/method in different package sub class, which access specifier will you use
Default
Protected
Private
A class can be
Default
Private
Protected
Which of the combinations of access specifiers mentioned below gives the same results for accessing a constructor
Private and public
Default and private
Protected and default
Public and protected
Choose the correct option
We can inherit static variables
We can inherit static methods
We cannot override non static methods
We can override non static methods
The following unary operator performed on variable i :: ++i is called as
Post increment
Post decrement
Pre decrement
Pre increment
What sequence of keyword you use to inherit in the below given order : A (interface)--> B(interface)--> C (class)
extends, extends
extends, implements
implements, impements
implements, extends
0
{"name":"'var' was introduced in which version of Java", "url":"https://www.quiz-maker.com/QKNU5FT6T","txt":"'var' was introduced in which version of Java, Everytime we create object, _______ is called, ______ keyword is a special reference variable that holds object address and gets created automatically when we create an object","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker