Geography, asked by edambhanu, 6 months ago

ALL
8. What will be the result of compiling and running the following Java program?
What will be the result of compiling and running the following Java program?
5
public class TipTop
{
static final Integer il = 1;
final Integer 12 = 2;
Integer i3 = 3;
6
7
public static void main(String[] args)
{
final Integer 14 = 4;
Integer i5 = 5;
00
class Inner
{
final Integer i6 = 6;
Integer i7 = 7;
9
Inner()
{
System.out.print(i6 + 17);
10
}​

Answers

Answered by itspintuofficial
0

Answer:

Main.java:1: error: class TipTop is public, should be declared in a file named TipTop.java

public class TipTop

Similar questions