Software Programming : Java Programming QUESTIONS AND ANSWERS :: part11 : 11 to 15
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
11.What is the result of the expression 75.22 + “5.2”? |
The double value in 80.42 |
The string in “80.42”. |
The string is “75.225.2” |
The string is “75.222.5” |
The long value is 80. |
12.java server page is an extension of |
html |
xml |
xhtml |
sgml |
java servlet. |
13.Consider the following program written in Java to answer this Question: 01.class StringEx{ 02.public static void main(String args[]) { 03.String s1="University of ICFAI”; 04.String s2="hello"; 05.String s3="HELLO”; 06.System.out.println(s1.substring(10,13)); 07.System.out.println(s2.equalsIgnoreCase(s3)); 08.}09.}What would be the output of the statement indicated in line number 06 when the program is executed? |
University of ICFAI |
error |
of |
Colombo |
ity. |
14.Consider the following additional driver program: public class Main { public static void main(String[] args) { ClassB b = new ClassB(1); ClassC c = new ClassC(2); } } Which of the following would the output be? |
ClassA() constructor |
B(int) constructor |
A() constructor |
B(int) constructor |
C(int) constructor |
More Java Programming QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
- TNPSC Q&A
- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
- Engineering
- Programming
- Basic Science
- Quiz
- Plus Two Question Papers
- SSLC Question Bank
- Aptitude Tests
- Logical Reasoning
- General Knowledge-Hindi
- Indian History MCQ
- Indian Geography MCQ
- Indian Civics MCQ
- Indian Economics MCQ
- CTET Biology MCQ
- CTET Chemistry MCQ
- CTET Physics Solved MCQ
- Arithmetic Tests
- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
- TNPSC Group IV Syllabus
- TRB 2017 in English PDF
- TRB 2017 in Tamil PDF
- TET
- TNTET