Computer Science, asked by VaniSna, 1 year ago

Program of Java:-
Sum of two number without initialization(not to enter any numeral or constant as for adding or any data type),without using class(like scanner or io class),without using any function(like math function),

Answers

Answered by Vyomsingh
2

Answer:

class Sum

{

int n,k,sum;

public static void main()

{

sum=n+k;

System.out.println(sum);

}

}

Explaination:

default value of n,k and sum=0

sum=n+k

sum=0+0;

=0 Answer........

Please mark me as brainliest!!!!!!

Similar questions