Question: What is the output of the following Java program? Explain. public class Duos { public static void main(String[] args) { new Duos().new D().new U().new O().new
What is the output of the following Java program? Explain. public class Duos {
public static void main(String[] args) {
new Duos().new D().new U().new O().new S().new II().Single(); }
class D {
class U {
class O {
class S {
class II {
public void Single() { System.out.println("CSE"); } } } } } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
