|Which of these is the keyword to invoke a private method? public protected friend extend const.
Which of these is the coorect way to declare an array poi of size 40? int poi=new int poi; int poi=new int poi int poi=new int; int poi=new Int;.
Which of these is true about char literals? enclosed in' ' may not contain numbers maynot have a word also none of these.
Predict the output of the following code snippet:-
System.out.println(b); 6.000000 6 5.5755555 Logical error at compile time.
Which is true about an object? it is a derivation of class it is an instance of a class it is base class.
Which of the following is the correct syntax to create an object hello of class Welcome? Welcome Hello=new Hello; Welcome hello=new hello Welcome(); Welcome hello=new welcomehe(); Welcome =new hello; Welcome hello=new Welcome None of theses.
Write true or false.
Statement:- overuse of static import featue can make ones program unmaintainable and unreadable. True False.
What is true about default constructor? It is a parameterized constructor. It returns no value. It has the same name as the class It is a formal constructor.
A Class which inherits is call____________class and the class from which it inherts is called the _____________class using__________keyword. base,child,super child,base,extends child,base,super derived,child,extends derived,parent,super.