Basic Coding
#learnwithme comment your topic
5 months ago | [YT] | 0
View 0 replies
What will be the output of the following Java program?class Output {public static void main(String args[]){ int arr[ ] = {1, 2, 3, 4, 5}; for ( int i = 0; i < arr.length - 2; ++i) System.out.println(arr[i] + " "); } }
2 years ago | [YT] | 0
What will be the output of following pseudo code.int a=2;print(++a);print(a++);
What will be the output of the below pseudo code.main(){ int num = 987; int rem; while(num!=0) { rem = num % 4; num = num / 10; } printf("%d",rem);}
What will be the output of the following pseudocode for a=9 , b=7 ? Integer funn(Integer a, Integer b) Integer cSet c = 2b = b mod ca = a mod creturn a+bEnd function funn()
Which of these are selection statements in java?
Which exception is thrown when java is out of memory?
What is the extension of compiled java classes?
Which of the following is a type of polymorphism in java programming
Which of the following is not an OOPS concept in java?
Load more
Basic Coding
#learnwithme comment your topic
5 months ago | [YT] | 0
View 0 replies
Basic Coding
What will be the output of the following Java program?
class Output
{
public static void main(String args[])
{
int arr[ ] = {1, 2, 3, 4, 5};
for ( int i = 0; i < arr.length - 2; ++i)
System.out.println(arr[i] + " ");
}
}
2 years ago | [YT] | 0
View 0 replies
Basic Coding
What will be the output of following pseudo code.
int a=2;
print(++a);
print(a++);
2 years ago | [YT] | 0
View 0 replies
Basic Coding
What will be the output of the below pseudo code.
main()
{
int num = 987;
int rem;
while(num!=0)
{
rem = num % 4;
num = num / 10;
}
printf("%d",rem);
}
2 years ago | [YT] | 0
View 0 replies
Basic Coding
What will be the output of the following pseudocode for a=9 , b=7 ?
Integer funn(Integer a, Integer b)
Integer c
Set c = 2
b = b mod c
a = a mod c
return a+b
End function funn()
2 years ago | [YT] | 0
View 0 replies
Basic Coding
Which of these are selection statements in java?
2 years ago | [YT] | 0
View 0 replies
Basic Coding
Which exception is thrown when java is out of memory?
2 years ago | [YT] | 0
View 0 replies
Basic Coding
What is the extension of compiled java classes?
2 years ago | [YT] | 0
View 0 replies
Basic Coding
Which of the following is a type of polymorphism in java programming
2 years ago | [YT] | 0
View 0 replies
Basic Coding
Which of the following is not an OOPS concept in java?
2 years ago | [YT] | 0
View 0 replies
Load more