Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 3 5 . Below is a Java GUI code that adds two numbers entered by the user. Accordingly, which line of code is wrong?A

Q35. Below is a Java GUI code that adds two numbers entered by the user. Accordingly, which line of code is wrong?A. String s= txt3.getText();B. int number1= Integer.parseInt(txt1.getText());C. if(s.equals("+")D. lblResult.setText(result.toString(0);
Q36. Which is not an object-oriented programming language?
A.C++
B. SQL
C. Java
D. C#
Q37. Which one is used to add Java packages?
A. import
B. export
C. print
D. system
Q38. Which is not a Java IDE?
A. IntelliJ IDEA
B. NetBeans
C. Eclipse
D. Python
Q39. Which is not a primitive data type in Java?
A. int
B. double
C. overload
D. float
Q40. Which is not a component of Swing?
A. JComboBox
B. JBar
C. JPanel
D. JTextField
END OF THE QUESTIONS!
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

More Books

Students also viewed these Databases questions