Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

multiple answers i need the solution only its java please answer as many of them as possible Question 1: Question 1: Use your knowledge to

multiple answers i need the solution only its java please answer as many of them as possible

image text in transcribed
image text in transcribed
Question 1: Question 1: Use your knowledge to answer the following aultiple-cholce questions [PLO K1/CLO 1/50 1] [7.5 marks, 0.75 per each] 1) Panel's defalt Layout Manager ist A) Flowl ayout. B) Horter layout C) Gridlayout D) Cardlayout 7) Which of the following are the examples of the containcrs? A) Jrame,layout manager, Panel B) JFrame, Panel, contert pane C) Panel, layout manager, batton group D) None of the above r) - is the method used to change the layout of the container. A) addib B) setLayoato C) container constructor D) B&&C 4) We can import JFrame class from paclange: A) java swing B) javax,swing. C) java awt D) javaxaasit o) You always must add a content pane to a JFrame object. A) True B) False ) Programmers must let the default exception handler deals with all expected exceptions. A) True B) False v) Unhandled exceptions will cause: A) Program Crash B) the default exception handler to run C) all choices are wrong D) A&B A) Statements that could canse exeeptions to happen during execation sbould be placed in while statements that handle exeeptions placed in A) catch block-try block B) try block - eatch clause C) catch clsuse - try block D) try block - catch block 1) Which of the following statements are true about the finally blockt A) It always executes whether an exception happened or not. B) In case an exception happened it exccutes after executing the exception handler. C) It is optional and placed after all catches. D) All choises are comect. 1.) FileOutpurstream object gives us the access to a determine file for writing data in blangy, A) True B) False

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

Students also viewed these Databases questions

Question

Distinguish between poor and good positive and neutral messages.

Answered: 1 week ago

Question

Describe the four specific guidelines for using the direct plan.

Answered: 1 week ago