FileWriter is a subtype of OutputStreamWriter
Which of the following is not a feature of Java Beans?
What will be the output of the following Java program?
Which of the following can be overloaded?
Which of these data types can be used in a method having a return statement in it?
Which method of the String class is used to remove leading and trailing whitespaces?
Deduce the output of the following code:
public class Test{
public static void main(String []args){
int x=5,y=9;
System.out.println(y/x);
}
}
What is the output of the following Java code?
class Test {
public static void main(String args[]) {
float x;
System.out.println(x);
}
}
Following concept can be used for encapsulation in java programs
What does the join()
method do?