Bissoy.com
Login
Doctors
Medicines
MCQs
Q&A
Ask
Merit Test
Questions
Courses
If one intends to create a model that will be assumed by a number of closely related objects, which class must be used?
Normal class
Static class
Abstract class
Interface
LohaHridoy
0
Edit
6
views
2025-01-04 04:42
1
Answers
AhmedNazir
Answer: Option 3
Let'
0
Thanks
6
views
Answered
2022-09-01 13:21
Report
Edit
Call
Related Questions
What will be the output class A{ static void method(){ System.out.println("Class A method"); } } class B extends A{ static void method(){ System.out.println("Class B method"); } } public class Test{ public static void main(String args[]){ A a = new B(); a.method(); } }?
1 Answers
5
Views
What will be the output interface A{ public void method(); } class One{ public void method(){ System.out.println("Class One method"); } } class Two extends One implements A{ public void method(){ System.out.println("Class Two method"); } } public class Test extends Two{ public static void main(String[] args){ A a = new Two(); a.method(); } }?
1 Answers
13
Views
What will be the result of compiling and executing the following program code class Vehicle{ public void printSound(){ System.out.print("vehicle"); } } class Car extends Vehicle{ public void printSound(){ System.out.print("car"); } } class Bike extends Vehicle{ public void printSound(){ System.out.print("bike"); } } public class Test{ public static void main(String[] args){ Vehicle v = new Car(); Bike b = (Bike) v; v.printSound(); b.printSound(); } }?
1 Answers
6
Views
What will be the result after the class Test execution class A{ public void doA(){ B b = new B(); b.dobB(); System.out.print("doA"); } } class B{ public void dobB(){ C c = new C(); c.doC(); System.out.print("doB"); } } class C{ public void doC(){ if(true) throw new NullPointerException(); System.out.print("doC"); } } public class Test{ public static void main(String args[]){ try{ A a = new A(); a.doA(); }catch(Exception ex){ System.out.print("error"); } } }?
1 Answers
9
Views
The number of boys in a class is three times the number of girls. Which one of the following numbers cannot represent the total number of children in the class ?
1 Answers
4
Views
If a force acts upon two objects at rest, and having different masses for the same amount of time, then which one of the following will be the same for both the objects?
1 Answers
5
Views
The DoD model (also called the TCP/IP stack) has four layers. Which layer of the DoD model is equivalent to the Network layer of the OSI model?
1 Answers
9
Views
I. This school eventually merged because of their closely related metaphysical theories (although Vaisheshika only accepted perception and inference as sources of valid knowledge). II. Mimamsa accept the logical and philosophical teachings of the other schools, they insist that salvation can only be attained by acting in accordance with the prescriptions of the Vedas. Which of the statement(s) given above is/are correct related to the Purva Mimamsa?
1 Answers
7
Views
Pricing model approach in which it is assumed that stock price can have one of two values of stock is classified as?
1 Answers
4
Views
Statement : Residents from Model Colony coming under North Ward of City X have complained to the Ward Officer that for last three days the tap water in the ward is contaminated and no action is being initiated by municipal staff. Courses of Action : I. The Ward Officer of North Ward should initiate action against residents who have lodged complaints against municipal staff. II. The Ward Officer should ask his junior officer to visit Model Colony to assess the actual condition of water with his staff and to get samples of water tested from laboratories. III. The Ward Officer should ask Ward Engineer to check water installations and pipelines in the Model Colony area.?
1 Answers
6
Views
কোরআন
হাদিস
চাকুরি প্রস্তুতি
বিশ্ববিদ্যালয় ভর্তি
মেডিকেল SBA
12
এইচএসসি
10
এসএসসি
8
জেএসসি
এক্সাম দিয়ে মেধা যাচাই করুন
Job Preparation (1125)
Admission (754)
এসএসসি (10)
এইচএসসি (5)
Login Required
You need to log in to continue.
Login
Cancel
Download Required
You need to download the app to make a call.
Download
Cancel