Which of the following is NOT a primitive data type in Java??

Join Our WhatsApp Group Join Now
Join Us On Telegram Join Now

1. Which of the following is NOT a primitive data type in Java??

a. int
b. boolean
c. String
d. char

Answer :- c

All Answers are uploaded on this site : Click Here

2. Consider the following program.

image 1

What is the output of the above code?

a. 127
b. -127
c. 129
d. 2

Answer :- b
Course NameProgramming In Java
CategoryNPTEL Assignment Answer
Home Click Here
Join Us on TelegramClick Here

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top