Question:What should be the replacement of "//ABC" in the following code?
class Krit
{
    String str= new String("OOPS !!! JAVA");
    public void KritMethod(final int iArgs)
    {
      int iOne;
      class Bicycle
      {
        public void sayHello()
        {
          //ABC
        }
      }
    }
    public void Method2()
    {
      int iTwo;
    }
}
 

A System.out.print(str); 

B System.out.print(iOne); 

C System.out.print(iTwo); 

D System.out.print(iArgs); 

+ Answer
+ Report
Total Preview: 816

Copyright © 2024. Powered by Intellect Software Ltd