Tag: Java

  • Java Quizs Question & Answers – Character and Boolean Data Types

    Q 1. What will be the output of the following Java program? A. 64B. 65C. 67D. 66 Show Answer Answer:-D. 66 Explanation ASCII value of ‘A’ is 65, on using ++ operator character value increments by one. output:$ javac mainclass.java $ java mainclass 66 Q 2. What will be the output of the following Java…

  • Java Quizs Question & Answers – Integer and Floating Data Types

    Q 1. An expression involving byte, int, and literal numbers is promoted to which of these?A. longB. intC. byteD. float Show Answer Answer:-B. int Explanation An expression involving bytes, ints, shorts, literal numbers, the entire expression is promoted to int before any calculation is done. Q 2. Which of these literals can be contained in…

  • Java Interview Quizs Question

    Computer Exam Java Interview Questions Q1. Java was developed by A. Apple B. IBM C. Ericsson D. Sun Microsystems Show Answer Answer:-D. Sun Microsystems Q 2. In which year Java programming language was developed A. 1991 B. 1993 C. 1995 D. 1996 Show Answer Answer:-A. 1991 Q 3. Which one was the initial name of…

  • Top 50 Quizs Question and Answer Grammar – English MCQ

    Q 1. They ______________ her and trusted her for years A. had known B. knew C. known D. know Show Answer Answer:- B. knew Q 2. Every morning she ______________ up early and gets ready for work. A. wakes B. has woken C. is waking D. had woken Show Answer Answer:- A. wakes Q 3. People ______________ walk…

  • Java Programming

    Q 1. Who invented Java Programming?A. Guido van RossumB. Bjarne StroustrupC. Dennis RitchieD. James Gosling Show Answer Answer:-D. James Gosling Explanation Java programming was developed by James Gosling at Sun Microsystems in 1995. James Gosling is well known as the father of Java. Q 2. Which statement is true about Java?A. Java is a platform-independent…

You cannot copy content of this page