Bissoy.com
Login
Doctors
Medicines
MCQs
Q&A
Ask
Merit Test
Questions
Courses
Which keyword allows class members (methods and properties) to be used without needing to instantiate a new instance of the class?
protected
final
static
private
LohaHridoy
0
Edit
5
views
2025-01-04 04:42
1
Answers
AhmedNazir
Answer: Option 3
Let'
0
Thanks
5
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 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 visibility of a property or method can be defined by prefixing the declaration with the keywords public, protected or private. Class members declared public can be accessed everywhere. Members declared protected can be accessed only within the class itself and by inherited classes. Members declared as private are not accessible.?
1 Answers
4
Views
In which of the following is a single-entity instance of one type of related to a single-entity instance of another type?
1 Answers
10
Views
Which class provides an interface for invoking JavaScript methods and examining JavaScript properties?
1 Answers
5
Views
PHP provides built-in interceptor methods, which can intercept messages sent to undefined methods and properties. This is also known as _________?
1 Answers
4
Views
Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo?
1 Answers
5
Views
Which keyword is used to refer to properties or methods within the class itself?
1 Answers
5
Views
The object whose properties are inherited by all instances of the class, and properties whose values are functions behaving like instance methods of the class, is?
1 Answers
5
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